2 years ago
When trying to deploy Typebot after having configured everything, as in Vercel, the deployment returns the following error in Railway;
(The most interesting thing is that Vercel is working perfectly, and before asking me to use a model, I can't because my typebot is modified for my project.)
No files changed in this command, skipping snapshotting.
Jul 15 01:01:13
COPY . /app/.
Jul 15 01:01:13
Taking snapshot of files...
Jul 15 01:01:14
RUN --mount=type=cache,id=-/root/npm,target=/root/.npm npm i
Jul 15 01:01:14
Cmd: /bin/bash
Jul 15 01:01:14
Args: [-ol pipefail -c npm i]
Jul 15 01:01:14
Running: [/bin/bash -ol pipefail -c npm i]
Jul 15 01:01:14
npm WARN config production Use --omit=dev instead.
Jul 15 01:01:14
npm ERR! code EUNSUPPORTEDPROTOCOL
Jul 15 01:01:14
npm ERR! Unsupported URL Type "workspace:": workspace:*
Jul 15 01:01:14
Jul 15 01:01:14
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-07-15T04_01_14_264Z-debug-0.log
Jul 15 01:01:14
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
Jul 15 01:01:14
exit status 1
Jul 15 01:01:25
container event container died
Jul 15 01:01:28
Stopping Container
I hope it can help!
23 Replies
2 years ago
I'm not too sure what vercel has to do with this? additionally, the TypeBot template deploys from an image, not a GitHub repo - https://railway.app/template/typebot
2 years ago
I have my Typebot project modified in a Github repository and I can install it normally on Vercel, however, I want to migrate from Vercel to Railway as it seems to be much better, however, when trying to deploy, I receive the errors mentioned later. Could you help me with this, please?
2 years ago
I wouldn't be of much help unless I had access to the repo you are trying to deploy.
2 years ago
Send me your email and I will give you access to my repository, okay?
2 years ago
gmail?
2 years ago
As you can see, I tried updating my dockerfile to resolve it, but without success...
2 years ago
I will do it now!
2 years ago
I went back to the original version of the Dockerfile and it still didn't work... I keep getting the error: No files changed in this command, skipping snapshotting.
Jul 15 22:07:37
ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH
Jul 15 22:07:37
No files changed in this command, skipping snapshotting.
Jul 15 22:07:37
COPY . /app/.
Jul 15 22:07:37
Taking snapshot of files...
Jul 15 22:07:38
RUN --mount=type=cache,id=-/root/npm,target=/root/.npm npm i
Jul 15 22:07:38
Cmd: /bin/bash
Jul 15 22:07:38
Args: [-ol pipefail -c npm i]
Jul 15 22:07:38
Running: [/bin/bash -ol pipefail -c npm i]
Jul 15 22:07:39
npm WARN config production Use --omit=dev instead.
Jul 15 22:07:39
npm ERR! code EUNSUPPORTEDPROTOCOL
Jul 15 22:07:39
npm ERR! Unsupported URL Type "workspace:": workspace:*
Jul 15 22:07:39
Jul 15 22:07:39
npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-07-16T01_07_39_223Z-debug-0.log
Jul 15 22:07:39
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
Jul 15 22:07:39
exit status 1
Jul 15 22:07:40
container event container died
Jul 15 22:07:42
Stopping Container
2 years ago
I updated turbo.json to the latest version of the original typebot.
2 years ago
After updating to the latest from the original typebot, it returned the error:
[Region: us-west1]
Dockerfile builder.Dockerfile does not exist
Remembering that my files were originally from the original typebot 2.25.2...
2 years ago
The turbo.json that is now is the original from version 2.25.2, when I switch to the latest version of typebot, the deployment on Vercel gives an error and on Railway also gives an error. In the current version, it cannot be deployed successfully on Vercel and Railway. What's different about deploying the two platforms?
2 years ago
Use the Dockerfile from here please - https://github.com/baptisteArno/typebot.io/blob/v2.25.2
2 years ago
Okay, looks like we got your repo into a deployable state.
Next steps -
Deploy my TypeBot template as i've linked above.
Open the Builder service and disconnect the source image.
Connect your github repo.
Open the Viewer service and disconnect the source image.
Connect your github repo.
I've followed these steps myself and currently have TypeBot installed and working with your repo.
2 years ago
Okay, doing it right now!
2 years ago
It worked out! 



Thank you very much for your help, friend! Without you, I wouldn't have made it!
I really appreciate your help!
Status changed to Solved brody • over 1 year ago


