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
thanks for opening this issue, I've tried to reproduce as you suggested and indeed, the package turns out to be unusable.
This is caused by an incorrect exports management in the package.json that is auto-generated during the build phase.
Please, if you like, try to propose a PR to fix the problem, it would be nice to have you among the contributors...
If you can't manage it, no problem, I'll try to fix it as soon as possible
To Reproduce
Steps to reproduce the behavior:
npm init --yes
, and install beautiful-react-hooks."type": "module"
topackage.json
.index.js
file:import "beautiful-react-hooks/useAudio"
.node index.js
, see error:SyntaxError: Cannot use import statement outside a module
.The text was updated successfully, but these errors were encountered: