22 days ago
copy /etc/mise/config.toml, /usr/local/bin/mise, /mise/installs, /mise/shims, /root/.local/state/mise cached
0ms
copy / /app, .
285ms
npm run build -w @esgnavigator/web
422ms
npm warn config production Use --omit=dev instead.
npm error No workspaces found:
npm error --workspace=@esgnavigator/web
npm error A complete log of this run can be found in: /root/.npm/_logs/2026-04-30T19_07_20_788Z-debug-0.log
Build Failed: build daemon returned an error < failed to solve: process "sh -c npm run build -w @esgnavigator/web" did not complete successfully: exit code: 1 >
1 Replies
22 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 22 days ago
22 days ago
This means npm cannot detect your workspace configuration at build time.
Root causes (most likely)
package.jsonwithworkspacesis missing in the container- Either not copied
- Or copied after the build step
- Or located in a different directory than expected
- Wrong working directory
- The build runs in
/app, but your monorepo root may not be there
- The build runs in
- Workspace name mismatch
@esgnavigator/webmust exactly match thenamefield inside that package
- Using npm without proper workspace setup
- npm requires
"workspaces"defined in rootpackage.json
- npm requires