Next JS build failed
Hello, is first time when I'm trying railway.app and I'm trying to deploy a repo which is structured like this
github/repo
/client
/server
client is a next.js project
server is a nest.js project
I'm using pnpm for builds for both of them but the client failed with this error
`
Solution:Jump to solution
I've found the problem when the project was created a package-lock.json was created, I removed that, I run pnpm installwhich created pnpm-lock.json and now everything is working fine
2 Replies
Project ID:
00442537-a0d8-4cd5-bfd3-4dc268643cd0,00442537-a0d8-4cd5-bfd3-4dc268643cd0,00442537-a0d8-4cd5-bfd3-4dc268643cd0,00442537-a0d8-4cd5-bfd3-4dc268643cd0,00442537-a0d8-4cd5-bfd3-4dc268643cd0,00442537-a0d8-4cd5-bfd3-4dc268643cd0
Solution
I've found the problem when the project was created a package-lock.json was created, I removed that, I run pnpm installwhich created pnpm-lock.json and now everything is working fine