-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_PACKAGE_PATH_NOT_EXPORTED when importing this package in fastify #123
Comments
Same error for me on a TypeScript project, tried to import with a : import parseTorrent from 'parse-torrent'; but got error :
I have to revert to 9.x release to avoid error. |
Same problem
It seems you need to add |
Same error here with version 11.0.12 |
same error on the last version of parse-torrent v11.0.12 |
Any news on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of this package are you using?
10.0.0
What operating system, Node.js, and npm version?
MacOS Ventura 13.0.1 M1 Pro Chip
Tried on both Node.js v 18.12.1 and 14.21.1
pnpm 7.17.1
What happened?
When I symply import the package with
import parseTorrent from "parse-torrent";
I got his error:What did you expect to happen?
Being able to import this package in an ES6 env
Are you willing to submit a pull request to fix this bug?
Not sure what's going on so sadly, no.
Edit: Backed to 9.1.5 and everything works fine
The text was updated successfully, but these errors were encountered: