fuyutarow / solid-chrome-extension-template

Chrome Extension Boilerplate with SolidJS + Vite + TypeScript + Manifest V3 + Hot Relaod
MIT License
103 stars 22 forks source link

development build: error: Could not resolve entry module (../../../../../../@vite/client). #7

Open milahu opened 1 year ago

milahu commented 1 year ago

npm run dev hangs

npm run dev 

> solid-chrome-extension-template@0.202212.1 dev
> vite build -w

vite v4.0.3 building for production...

watching for file changes...

build started...
✓ 2 modules transformed.
Could not resolve entry module "../../../../../../@vite/client".
transforming (8) src/styles/index.css

npm run build works

upstream issue https://github.com/crxjs/chrome-extension-tools/issues/323

milahu commented 1 year ago

fixed by

pnpm i -D @crxjs/vite-plugin@^2.0.0-beta.1