question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Package path ./unstable-native-dependencies is not exported from package

See original GitHub issue

After 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:closed
  • Created a year ago
  • Reactions:4
  • Comments:20 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
sipeccommented, Oct 27, 2022

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

2reactions
3DJakobcommented, Nov 3, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found