frandiox / reactesse-edge-template

MIT License
28 stars 1 forks source link

[plugin vite:dep-scan] Failed to resolve entry for package "vitedge". #5

Closed LukaszBielsko closed 2 years ago

LukaszBielsko commented 2 years ago

After installing clean repo with npm i and changing WindiCSS({ to WindiCSS.defult({ (as the first one was causing errors) and then npm run dev:spa I've encountered below error

[ERROR] [plugin vite:dep-scan] Failed to resolve entry for package "vitedge". The package may have incorrect

main/module/exports specified in its package.json: Failed to resolve entry for package "vitedge". The package may have 

incorrect main/module/exports specified in its package.json.

 node_modules/vite/dist/node/chunks/dep-971d9e33.js:29521:10:
      29521 │     throw new Error(`Failed to resolve entry for package "${id}". ` +`
frandiox commented 2 years ago

Please try Vite 2.7.x -- 2.8 has some backward compatibility issue that I haven't fixed yet.

LukaszBielsko commented 2 years ago

That worked. Thanks, mate.