Hello,
I’m trying to setup the local development environment with the netlify cli and a Nuxt3 app.
I created a default Nuxt3 app with
npx nuxi init test
then I ran
netlify init
netlify dev
I didn’t create any netlify.toml file, (the solution proposed here) doesn’t work. I have the latest netlify cli version.
I have the following errors when the browser opens up on localhost:8888:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
:8888/src/main.ts:1
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
:8888/@vite-plugin-pwa/pwa-entry-point-loaded:1
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
manifest.webmanifest:1 Manifest: Line: 1, column: 1, Syntax error.
Did anyone managed to have a working local dev environment with nuxt3 and netlify dev ?
Thank you very much!