a year 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
a year 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
a year 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?
a year ago
I wouldn't be of much help unless I had access to the repo you are trying to deploy.
a year ago
Send me your email and I will give you access to my repository, okay?
a year ago
gmail?
a year ago
As you can see, I tried updating my dockerfile to resolve it, but without success...
a year ago
I will do it now!
a year 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
a year ago
I updated turbo.json to the latest version of the original typebot.
a year 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...
a year 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?
a year ago
Use the Dockerfile from here please - https://github.com/baptisteArno/typebot.io/blob/v2.25.2
a year 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.
a year ago
Okay, doing it right now!
a year 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 • about 1 year ago