Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '#pwa' or its corresponding type declarations. #123

Open
brugomes opened this issue Mar 25, 2024 · 0 comments
Open

Cannot find module '#pwa' or its corresponding type declarations. #123

brugomes opened this issue Mar 25, 2024 · 0 comments

Comments

@brugomes
Copy link

I'm following the basic instructions to setup @vite-pwa/nuxt

pnpm add @vite-pwa/nuxt -D

// nuxt.config.ts
import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
  modules: [
    '@vite-pwa/nuxt'
  ],
  pwa: {
    /* PWA options */
  }
})

And got this error.

image
image

I also have tryed this and got the same error.

rm -Rf node_modules
rm -Rf dist
rm -Rf .nuxt
pnpm store prune
pnpm add @vite-pwa/nuxt -D --force  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant