aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
553 stars 48 forks source link

Manifest file is missing or unreadable #63

Closed kondr1 closed 1 year ago

kondr1 commented 1 year ago
kondr E:\..\web-ext-test git: master ≢ +2 ~0 -0 ! ❯❯❯ yarn create vite-plugin-web-extension
yarn create v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-vite-plugin-web-extension@1.0.3" with binaries:
      - create-vite-plugin-web-extension
√ Project Name ... aaaa
√ Template » vue-ts
√ Package Manager » Yarn

✔ Prepare Project Directory
✔ Create Project
✔ Install Dependencies

All done! To start the extension, run:

  cd aaaa
  yarn dev

Done in 230.14s.

And this i see after yarn dev :

Failed to load extension from C:\Program Files (x86)\Google\Chrome\Application\109.0.5414.120\dist
Manifest file is missing or unreadable 

image

aklinker1 commented 1 year ago

@kondr1 Thanks for reporting the problem! It's been fixed in v1.4.9. You can just run the create command again, or bump the version of the plugin in your project to ^1.4.9, and install the dependencies again.

Feel free to reopen if you still have problems.