Failed to deploy nextjs app that is using turborepo

kstulgys
HOBBY

a year ago

npm error Unsupported URL Type "workspace:": workspace:*

I have set my root directory in railway as /apps/wab because this is where my nextjs app exsist in my monorepo. I'm also using pnpm but railway tries to run npm ?
This is how my project structure looks like (see screenshot attached)

$10 Bounty

1 Replies

kstulgys
HOBBY

a year ago

N/A


a year ago

I'm not positive but try changing "workspace:": workspace:* in your code to "workspace:": "*"


kstulgys
HOBBY

a year ago

it complain about this line in my package.json

    "@xyz/typescript-config": "workspace:*"

kstulgys
HOBBY

a year ago

where xyz is my package


cmd-scholar
FREE

3 months ago

Hey have you been able to fix this?


Failed to deploy nextjs app that is using turborepo - Railway Help Station