Package path ./react is not exported from package
See original GitHub issueHello,
installing this package then importing it in my project throws the following error:
Module not found: Error: Package path ./react is not exported from package C:\Users\Mak\Sites\Tests\erb-4.0.1-qms\node_modules\@formkit\auto-animate (see exports field in C:\Users\Mak\Sites\Tests\erb-4.0.1-qms\node_modules\@formkit\auto-animate\package.json)
How to fix it? Thank you.
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Module not found: Error: Package path . is not exported from ...
The issue for me ended up being image imports in the js file. I had these mock valus: import Course1 from "../../ui/course-1.png"; ...
Read more >(React) Error [ERR_PACKAGE_PATH_NOT_EXPORTED]
package path not exported error. Open your terminal in your project's root directory (where your package.json file is) and run the following commands....
Read more >Package path . is not exported from package · Issue #5456
I'm trying to add firebase to react-electron-boilerplate and after adding "firebase": "9.0.1" to my package.json and running yarn. I have this ...
Read more >Module not found: Error: Package path . is not exported from ...
[Solved]-Module not found: Error: Package path . is not exported from package-Reactjs. import firebase from 'firebase/compat/app'; import 'firebase/compat/ ...
Read more >Code-Splitting - React
math.js export function add(a, b) { return a + b; }. Bundle: ... to make sure that Babel can parse the dynamic import...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had this on a Remix app, I had to add the following to my
remix.config.js
config file to make it work:Thanks for the heads up @markgaze