Open brugomes opened 7 months ago
@brugomes did you happen to fix this? Also seeing this error...
Error when adding the pwa module? Provide a minimal reproduction, all my tests can install the pwa module: check https://vite-pwa-org.netlify.app/guide/scaffolding.html , follow the prompts selecting Vue when asking for Framework then Nuxt.
Maybe you can try adding .npmrc
file with shamefully-hoist=true
(iirc only pnpm).
@snolan-ethika @brugomes
My guess is that you used nuxt as monorepo and used your own tsconfig.json compilterOptions.paths
, which overrides nuxt's default generated tsconfig paths setting (#pwa).
I'm following the basic instructions to setup
@vite-pwa/nuxt
pnpm add @vite-pwa/nuxt -D
And got this error.
I also have tryed this and got the same error.