Answer the question
In order to leave comments, you need to log in
How to run someone else's project?
Good afternoon ... I wanted to download and run someone else's project in order to consider its functions ... but I ran into a number of problems ... that it does not deign to start, and I just don’t know what to do, please help
___
Klatz
how did I do it?
1) copied the tutorialProject to the working folder
2) opened VS code
3) went to the working folder and clicked open the tutorialProject folder in cmd
4) then I enter react-native run-android
and get a fiasco
d:\JS\tutorialProject>react-native init tutorialProject
internal/modules/cjs/loader.js:657
throw err;
^
Error: Cannot find module 'graceful-fs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:655:15)
at Function.Module._load (internal/modules/cjs/loader.js:580 :25)
at Module.require (internal/modules/cjs/loader.js:711:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (d:\JS\tutorialProject\node_modules\react-native\local-cli\cli.js:12:1)
at Module._compile (internal/modules/cjs/loader.js:805:30)
at Object.Module. _extensions..js (internal/modules/cjs/loader.js:816:10)
at Module.load (internal/modules/cjs/loader.js:672:32)
at tryModuleLoad (internal/modules/cjs/loader.js:612:12)
at Function.Module._load (internal/modules/cjs/loader .js:604:3)
d:\JS\tutorialProject>npm install
npm WARN deprecated [email protected]: [email protected]<2.6.5 is no longer maintained. Please upgrade to [email protected] or at least to the actual version of [email protected]
npm WARN deprecated [email protected]: connect 2.x series is deprecated
npm ERR! path d:\JS\tutorialProject\node_modules\.bin\react-native
npm ERR! code EEXIST
npm ERR! Refusing to delete d:\JS\tutorialProject\node_modules\.bin\react-native: is outside d:\JS\tutorialProject\node_modules\react-native and not a link
npm ERR! File exists: d:\JS\tutorialProject\node_modules\.bin\react-native
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nick\AppData\Roaming\npm-cache\_logs\2019-04-16T18_15_13_614Z-debug.log
Answer the question
In order to leave comments, you need to log in
As an option, to start with, install react-native-cli globally and generally follow the recommended steps from the official documentation for windows.
If it doesn’t take off already google and look at problems with dependencies.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question