Failed to deploy nextjs app that is using turborepo

AnonymousTRIAL

9 months 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

AnonymousTRIAL

9 months ago

N/A


9 months ago

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


AnonymousTRIAL

9 months ago

it complain about this line in my package.json

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

AnonymousTRIAL

9 months ago

where xyz is my package


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