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.__wbindgen_error_new (/app/node_modules/@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
2 years ago
Full build logs please -
2 years ago
I have the same problem
2 years ago
We're having the same problem: https://help.railway.app/questions/error-unknown-field-cwd-when-building-edc1598f
2 years ago
IS this thread closed ? any resolutions to this issue ?
Status changed to Closed brody • almost 2 years ago