Failed to deploy nextjs app that is using turborepo
kstulgys
HOBBYOP

2 years 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

5 Replies

kstulgys
HOBBYOP

2 years ago

N/A


2 years ago

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


kstulgys
HOBBYOP

2 years ago

it complain about this line in my package.json

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

kstulgys
HOBBYOP

2 years ago

where xyz is my package


cmd-scholar
FREE

8 months ago

Hey have you been able to fix this?


Loading...