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: Can't resolve 'react-native'

See original GitHub issue

Since upgrading to @aws-amplify/auth from 1.2.15 to 1.2.17, I’m getting the following error from eslint:

./node_modules/@aws-amplify/auth/lib/Auth.js
Module not found: Can't resolve 'react-native' in '/opt/atlassian/pipelines/agent/build/node_modules/@aws-amplify/auth/lib'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:17
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
datomlcommented, Mar 6, 2019

I can confirm that the issue is fixed now. Thanks!

0reactions
github-actions[bot]commented, Jun 13, 2021

This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module not found: Can't resolve 'react-native' - Stack Overflow
I installed it run the app again, but it shows the same error. I have spent more than 8 hours on this but...
Read more >
Module not found: Can't resolve 'X' error in React | bobbyhadz
To solve the "Module not found: Can't resolve" error in React, make sure to install the package from the error message if it's...
Read more >
react-native-web - npm
Start using react-native-web in your project by running `npm i ... You'll notice that there is no reference to react-dom in components.
Read more >
module not found error | can not resolve react dom module
MODULE NOT FOUND - solution on haslips generates image · Webdriverio can not use import statement outside a module · Create a React...
Read more >
unable to resolve module react-native-elements - You.com
Link your library if not linked by using react-native-link. Also try clearing cache and restarting your Metro Bundler. This sometimes occurs after installing ......
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