[nightly] Could not resolve entry module "node_modules/nitropack/dist/chunks/runtime/node-server"
Environment
Nitro 2.10.0-28597966.b2831dd5, Node 20 latest
Reproduction
I'll be happy to create repro if it will be needed but let me create this one without repro for now
Describe the bug
I'm currently on Nuxt Nightly (for some of bug fixes), we updated nitro today and our project sadly stopped building
Additional context
I've pinned nitro to 2.10.0-28585081.346a4950 and it builds just fine
Logs
No response
This looks sus
Latest nuxt nightly also fails for me with Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/frontend/.output/server/node_modules/@opentelemetry/instrumentation/hook.mjs' imported from /frontend/.output/server/node_modules/@sentry/node/esm/sdk/init.js
I don't know what changed there...
Thanks for reporting. Ill look into it. For context nitro main branch is going under heavy refactors to prepare for v3 so more issues like this are likely to happen on nightly channel.
Thanks for reporting. Ill look into it. For context nitro main branch is going under heavy refactors to prepare for v3 so more issues like this are likely to happen on nightly channel.
Thanks! We'll keep it pinned then :)
Latest nuxt nightly also fails for me with
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/frontend/.output/server/node_modules/@opentelemetry/instrumentation/hook.mjs' imported from /frontend/.output/server/node_modules/@sentry/node/esm/sdk/init.jsI don't know what changed there...
Btw this seems like upstream issue from Sentry (https://github.com/getsentry/sentry-javascript/issues/12114) but I don't know if this should be fixed on their side or on Nitro side.