Open DesertCookie opened 2 months ago
Running npx nuxi upgrade --foce
gives me a different error now:
node:internal/modules/esm/resolve:257
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\PROJECT_PATH\node_modules\nuxi\dist\shared\nuxi.fefc5017.mjs' imported from C:\Users\PROJECT_PATH\node_modules\nuxi\dist\index.mjs
at finalizeResolution (node:internal/modules/esm/resolve:257:11)
at moduleResolve (node:internal/modules/esm/resolve:914:10)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:554:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:523:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/PROJECT_PATH/node_modules/nuxi/dist/shared/nuxi.fefc5017.mjs'
}
Node.js v22.8.0
I have since upgraded my Node version which was formerly v21.x.
Edit: It's back to the Defu error.
I created a fresh Nuxt project using bun and installed PWA. When I run the application via
npm run dev
, I get the following error:This is my package.json:
My nuxt.config.ts:
I was in the process of migrating an app to a PWA and had started a new project for that purpose to slowly transition all aspects of the app.