Closed eniniz closed 6 years ago
Hi! It looks like you have a corrupted npm installation. If you're able to install other npm packages, please post back and I'll reopen. If not, please try removing npm from your system and reinstalling.
Thank you for responding.
I uninstall node , then I install it. I also upgrade npm version to 5.5.1.
But when I run create-react-native-app AwesomeProject
here is what I get :
npm ERR! Unexpected token ▼ in JSON at position 0 while parsing near '▼ ♥?? Mo?6►???...' npm ERR! A complete log of this run can be found in: .....
I also remove create-react-native-app from ....\AppData\Roaming\npm\node_modules but I'm getting the same result.
Another important information is that I'm working behind a proxy, but I configure it to work normally, for instance I could run create-react-app and get started with it ....
Description
I'm trying to get started with react native, I followed the steps to generate myFirstApp using create-react-native-app.
Observed Behavior
when I executed here is what I get :
Environment
npm ls react-native-scripts
:`-- (empty)npm ls react-native
:-- (empty)npm ls expo
:-- (empty)node -v
:v6.11.4npm -v
:4.6.1yarn --version
:'yarn' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.watchman version
:'watchman' n'est pas reconnu en tant que commande interne ou externe, un programme exécutable ou un fichier de commandes.Also specify: