linear
NextJS Deployment crashing with ERR_PNPM_NO_LOCKFILE
Fixed it. Turns out I was using pnpm v9 locally to generate the lockfile and that was the issue. So even though I specified v8 in package.json, the fix was to downgrade my local pnpm to v8 and reinstall all dependencies
5 replies
How to fix 'Application failed to respond' error and add Python (flask) to Nextjs app on Railway?
mainly from the api routes, which seem to be the issue here
I reverted back to a much older commit which didn't have those and now it seems to work
I will backtrack to see exactly where the issue was but from here everything should work
Thank you so much for your help!! I really appreciate it!
45 replies
How to fix 'Application failed to respond' error and add Python (flask) to Nextjs app on Railway?
not really, at least nothing that would explain why it builds locally
I now tried reverting to the commit where Railway did build and it still throws that error
I even created a new project entirely from the old commit and it still fails with that error
45 replies
How to fix 'Application failed to respond' error and add Python (flask) to Nextjs app on Railway?
I tried running
yarn
based on your reply here (https://www.answeroverflow.com/m/1108809836222763200) and pushing the new yarn.lock but the error still occurs45 replies