Skip to content
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

unable to resolve module 'react-native' #17761

Closed
crowlKats opened this issue Jan 27, 2018 · 11 comments
Closed

unable to resolve module 'react-native' #17761

crowlKats opened this issue Jan 27, 2018 · 11 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@crowlKats
Copy link

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Steps to Reproduce

(Write your steps here:)

  1. I run the project
  2. I followed the git issues link on the screen I had
  3. run the project again

Expected Behavior

I expected it to run smoothly

Actual Behavior

screen shot 2018-01-27 at 17 22 20

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@hawkup
Copy link

hawkup commented Jan 28, 2018

Did you run npm install or yarn install ? For install dependencies

@crowlKats
Copy link
Author

npm

@schlaegerz
Copy link

schlaegerz commented Jan 29, 2018

I am having the same issue. This happened when I updated to the latest version of react native.

I have tried

rm -rf node_modules

and tried clearing the cache

rm -fr $TMPDIR/react-*

@crowlKats
Copy link
Author

same

@schlaegerz
Copy link

I was just able to fix it by killing all my running packages and node processes and rerunning
react-native run-ios

@hawkup
Copy link

hawkup commented Jan 30, 2018

Can you share the environment information that you use and source code for reproduce?

@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon. labels Feb 24, 2018
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 24, 2018
@salmanwaheed
Copy link

salmanwaheed commented Feb 24, 2018 via email

@ghost
Copy link

ghost commented Mar 21, 2018

In my case, this error was occurred due to an import of 'dns' in a js file.

@Kiyosh31
Copy link

How can i do that on windows?

@manan-desai
Copy link

Make sure you download the release matching with your Unity version.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

7 participants