I want to deploy a nextjs project with payload cms as backend.
amelie-schlueter
TRIALOP
2 years ago
Locally i can build the project without issues. But when i try to deploy it i get this error message:
12 3.471 /app/node_modules/@swc/wasm/wasm.js:489
12 3.471 const ret = new Error(getStringFromWasm0(arg0, arg1));
12 3.471 ^
12 3.471
12 3.471 Error: unknown field cwd
12 3.471 at module.exports._wbindgenerrornew (/app/nodemodules/@swc/wasm/wasm.js:489:17)
12 3.471 at wasm://wasm/047124f6:wasm-function[9674]:0xccbd1f
12 3.471 at wasm://wasm/047124f6:wasm-function[284]:0x36598c
12 3.471 at wasm://wasm/047124f6:wasm-function[229]:0x2e91dc
12 3.471 at wasm://wasm/047124f6:wasm-function[12726]:0xd3f531
12 3.471 at module.exports.transformSync (/app/node_modules/@swc/wasm/wasm.js:333:14)
12 3.471 at Compiler.transformSync (/app/node_modules/@swc/core/index.js:251:37)
12 3.471 at Object.transformSync (/app/node_modules/@swc/core/index.js:351:21)
12 3.471 at compile (/app/node_modules/@swc/register/lib/node.js:76:22)
ⓘ Deployment information is only viewable by Project members and Railway admins.
6 Replies
gogeorge
TRIAL
2 years ago
I have the same problem
maximilianschmitt
HOBBY
2 years ago
We're having the same problem: https://help.railway.app/questions/error-unknown-field-cwd-when-building-edc1598f
uzumakikurama
TRIAL
2 years ago
IS this thread closed ? any resolutions to this issue ?
Status changed to Closed brody • over 1 year ago