Invalid path on module field
luciocc55 opened this issue · 2 comments
luciocc55 commented
This is related to @harmony-js/crypto lib
For context im using Vite
Inside the package.json of the lib this path is set as the module, but on the dist folder this file doesnt exist
"module": "dist/index.esm.js",
This ends triggering an error
Failed to resolve entry for package "@harmony-js/crypto". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "@harmony-js/crypto". The package may have incorrect main/module/exports specified in its package.json.
Am i missing something?
giraffekey commented
I also have this issue with Vite.
giraffekey commented
Replacing all index.esm.js
with index.js
manually solves this issue, though this is undone when node_modules
is deleted.