9 months ago
i got a big issue when deploying my express server app using Nx and at first it was working fine but in my last push i got an error and even after going back on my changes i get the same error, here is the error log:
node:internal/modules/cjs/loader:1143
throw err;
^
Error: Cannot find module './pnpm.cjs'
Require stack:
- /nix/store/x0hixjlv2wq95grrw3819qqp7ydavdxl-pnpm/bin/pnpx
at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/nix/store/x0hixjlv2wq95grrw3819qqp7ydavdxl-pnpm/bin/pnpx:5:1)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/nix/store/x0hixjlv2wq95grrw3819qqp7ydavdxl-pnpm/bin/pnpx' ]
}
Node.js v18.20.2
1 Replies
9 months ago
Hey there Sidali,
I look at your project it seems that things are now working: is the issue still present?
Thanks,
Angelo
Status changed to Awaiting User Response railway[bot] • 9 months ago
Status changed to Solved brody • 9 months ago