Module not found: Package path ./unstable-native-dependencies is not exported from package
See original GitHub issueAfter upgrading to react-tinder-card both v1.6.0 and v1.6.1 with @react-spring/web@9.5.5 I’m experiencing this error after running npm run build
./node_modules/react-panresponder-web/dist/panresponder.js
Module not found: Package path ./unstable-native-dependencies is not exported from package C:\Users\xxx\xxx\Documents\GitHub\xxx\node_modules\react-dom (see exports field in C:\Users\xxx\xxx\Documents\GitHub\xxx\node_modules\react-dom\package.json)
package.json
"dependencies": { "next": "^12.3.1", "react": "^18.0.0", "react-dom": "18.0.0", "react-tinder-card": "^1.6.1" },
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:20 (4 by maintainers)
Top Results From Across the Web
Module not found: Can't resolve 'react-dom/unstable ... - GitHub
Hi ! I tried to use react-native-web in after.js but I've got this error : Module not found: Can't resolve ...
Read more >Module not found: Can't resolve 'react-dom/unstable-native ...
I am writing applications with React Native. I am using Expo. ... Take a look at package.json, there's react-dom or not.
Read more >r/react icon - Reddit
Having an unusual react-router-dom issue - "Package path ./unstable-native-dependencies is not exported from package".
Read more >Module not found: Can't resolve 'react-dom' error | bobbyhadz
To solve the error "Module not found: Error: Can't resolve 'react-dom'", make sure to install the react-dom package by opening your terminal in...
Read more >How To Resolve 'React-Dom/Unstable-Native-Dependencies'
Module Not Found : How To Resolve 'React-Dom/Unstable-Native-Dependencies'. Learn more about support, package, 3rd, party, third, failed, to, install, ...
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
Also ran into the same issue. It didn’t work on 1.6.1 but it works find when I downgrade to 1.5.4
I’m on: next 12.3.1, react 18.2.0, @react-spring/web 9.5.5
I’m well aware of this issue and working on a fix! For now, if you experience this issue please use version 1.5.4.
npm install react-tinder-card@1.5.4
I will post in this thread once I release the new version which fixes this issue.