Skip to content

PWA issues when running freshΒ #102

@Borderliner

Description

@Borderliner

Describe the bug

I get these errors when running a fresh project in PWA mode inside my developer console:

[nuxt] Could not resolve id virtual:pwa-info C:\Users\USER\Lab\Projects\my-nuxt3-app2\index.html

and

WARN  warnings
  One of the glob patterns doesn't match any files. Please remove or fix the following: {
  "globDirectory": "C:/Users/reza/Lab/Projects/my-nuxt3-app2/.nuxt/dev-sw-dist",
  "globPattern": "**/*.{js,css,html,txt,png,ico,svg}",
  "globIgnores": [
    "**/node_modules/**/*",
    "sw.js",
    "workbox-*.js"
  ]
}

Reproduction

pnpm i && pnpm run dev:pwa

System Info

Node 18, Windows 11, latest Vitesse Nuxt3

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions