solid-chrome-extension-template icon indicating copy to clipboard operation
solid-chrome-extension-template copied to clipboard

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

Open milahu opened this issue 2 years ago • 1 comments

npm run dev hangs

npm run dev 

> [email protected] 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 avatar Dec 23 '22 17:12 milahu

fixed by

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

milahu avatar Dec 23 '22 18:12 milahu