Respond to Homeworld Greetings

I am using this tutorial https://facebook.imtqy.com/react-native/docs/getting-started.html#content I am using windows 8. I have print npm install -g react-native-cli. Then

react-native init AwesomeProject
cd AwesomeProject

Then I read that I cannot use this command in windows react-native run-android, so I print node node_modules/react-native/packager/packager.js as suggested here https://facebook.imtqy.com/react-native/docs/linux-windows-support.html#content And I get the following output:

Error: Cannot find module 'C: \ Windows \ System32 \ AwesomeProject \ node_modules \ respond -native \ packager. packager.js' in Function.Module._resolveFilename (module.js: 337: 15) in Function.Module._load ( module.js: 287: 25) in Function.Module.runMain (module.js: 457: 10) at startup (node.js: 136: 18) when node.js: 972: 3

There are 2 npm-debug.log and package.json files in Myawesomeproject folder

So I feel that something went wrong. Ho, can I fix this?

+4
source share
1 answer

, npm . , npm install . , node_modules , . react-native init, .

0

Source: https://habr.com/ru/post/1614498/


All Articles