Failed to deploy nextjs app that is using turborepo

Anonymous
TRIAL

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)

0 Replies

Anonymous
TRIAL

a year ago

N/A


a year ago

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


Anonymous
TRIAL

a year ago

it complain about this line in my package.json

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

Anonymous
TRIAL

a year ago

where xyz is my package