You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled upon the problem with a package @humanfs/node. It uses modern exports field instead of main in package.json.
And RunJS fails to load it:
Error: No "exports" main defined in /Users/USER/Library/Application Support/runjs/node_modules/@humanfs/node/package.json
The text was updated successfully, but these errors were encountered:
kapooostin
changed the title
A package without main field in packahe.json cannot be loaded
A package without main field in package.json cannot be loaded
Apr 5, 2024
I stumbled upon the problem with a package @humanfs/node. It uses modern
exports
field instead ofmain
inpackage.json
.And RunJS fails to load it:
Error: No "exports" main defined in /Users/USER/Library/Application Support/runjs/node_modules/@humanfs/node/package.json
The text was updated successfully, but these errors were encountered: