Skip to content

Failed to load extension #1083

@nikolausliu

Description

@nikolausliu

Build tool

Vite

Where do you see the problem?

  • In the browser
  • In the terminal

Describe the bug

after pnpm dev,I got this error in Chrome:

Image

Reproduction

  1. pnpm dlx create-crxjs,Select Vanilla and Typescript,pnpm install and pnpm dev
  2. Visit chrome://extensions/,click Load unpacked and load dist folder

Logs

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 13th Gen Intel(R) Core(TM) i5-1340P
    Memory: 2.25 GB / 15.69 GB
  Binaries:
    Node: 20.17.0 - C:\Users\yuliu23\AppData\Local\Volta\tools\image\node\20.17.0\node.EXE
    npm: 10.8.2 - C:\Users\yuliu23\AppData\Local\Volta\tools\image\node\20.17.0\npm.CMD
    pnpm: 9.10.0 - C:\Program Files\Volta\pnpm.EXE
  Browsers:
    Chrome: 143.0.7499.169
    Edge: Chromium (140.0.3485.54)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @crxjs/vite-plugin: ^2.0.3 => 2.3.0
    vite: ^7.0.5 => 7.3.0

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions