-
Notifications
You must be signed in to change notification settings - Fork 478
Cannot install expo-cli global (windows 10) #650
Comments
perhaps may help you |
Hey @AHAMES, Take a look at this issue for a possible solution. Let me know if that helps! Side note- Always worth it to google the issues you're having before posting 👍 |
I have the same issue, I use
It seems have some issue with |
I also have some issue in installing or upgrading expo. please check the generated log below.. |
I also have some issue in installing or upgrading expo. please check the generated log below.. |
I upgraded |
In my case, i deleted two files then everything worked.
Hope that helps. |
Follow the steps
|
I deleted the file causing the problem (' C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c' in your case) |
i have the same issue here, i can't solve it. npm ERR! path C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c |
please help! |
nothing of above worked for me =( |
I used these to install it:
maybe the new windows terminal does support Nodejs: I don't need a higher version and it can give errors. then run I ran this command on Voilà! I hope this works for you too. Plus, if you need to upgrade your older expo project to a newer version then you may check these steps too. -> https://gist.github.com/fatihyildizhan/3e4e038422e7522211409a93e3302ee1 |
Hello @fatihyildizhan Thanks for take the time for answer me, i did all you tell my but i have the same error =(, the only different thing is my node version 12.16.1, should i uninstall it and install a lower version? |
solved finallly doing this: npm i [email protected] --global |
|
@kgbuddhima try this command if this does not work then follow these steps: |
Thanks |
Npm install -g expo-cli
i thought that the file was corrupt, but wasn't. it spent 15 minutes to install in my pc |
I TOO SAW THE NUMBER OF MESSAGES LIEK THAT. BUT THE FINAL RESULT WAS THE expo cli has installed and I was able to run the initial app. |
run: npm install expo-cli --global |
Had a similar issue, I solved it by stopping the abd.exe (Android Debug Bridge) process with the Microsoft Resource Monitor. In my case this was stopping NPM from overwriting the existing expo-cli files (couldn't delete abd,exe because it was in use) , so if you are getting this error after updating or reinstalling, I would check to see if you can't delete the file it's spitting our as a EPERM. If you can't, then plug that filename without the extension int Resource Monitor's Associated Handles search and end the process with the same name. I would try this last, as none of the above worked for me (they might for you), and google brought me here so I figured I would at least try to help. |
I solve it by gutting the whole global node_module directory(and need to use bash rm -r, luckily only a few global npm modules) then re-install, looks like npm being so file intensive can have all sorts of issue over time under windows. Now running the latest 3.17.18, and the installation were very fast too(from scratch). |
I tried everything what you guys told, but the error |
Unistall expo, after that install node.js following the steps:
1. Access address: https://nodejs.org
2. Access Other download
3. Access Installing Node.js via package manager
4. Select the link according tour OS
5. Follow the instrutions.
Em ter, 7 de abr de 2020 22:50, alexisxz <[email protected]>
escreveu:
… I tried everything what you guys told, but the error
npm WARN deprecated ***@***.***: request has been deprecated
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#650 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANHF7HDKI3YEBXEG76Z34CTRLPJ67ANCNFSM4HPUMJ3Q>
.
|
|
|
Guys I got it!!! finally... I install with npm install expo-cli --global, after that i just changed the restrition with set-executionpolicy bypass then everything works! thanks everybody for helping |
This worked for me!! Make sure to clear the NPM cache before executing the above command. |
PS C:\Users\Alqama> npm install expo-cli --global npm ERR! Unexpected end of JSON input while parsing near '...dencies":{"ava":"^3.2' npm ERR! A complete log of this run can be found in: PS C:\Users\Alqama> node -v |
I had the same problem with Windows. What worked for me was using the command prompt as an administrator npm install expo-cli --global |
ONLY FOR WINDOWS |
just need to run this command to fix your problem: |
I also went through the same problem. I don't know the exact inner details of why this has happened, one possible reason could be related to the node version. I had previously 'current' version(15.3.0) installed. Although I've tried the latest current version which is 15.12.0 but LTS release is recommended. |
I`m got this error. Someone can help me? expo --version |
Description
I can't install expo-cli
npm 6.9.0, node v12.3.1 (also tried stable 10.15.3 got same result)
Expected Behavior
npm install expo-cli --global
then I tried
yarn global add expo-cli
, it remained in the state described bellowObserved Behavior
yarn
Environment
Please run
expo diagnostics
in the project folder and copy the output here:C:\Users\Ahmed>expo diagnostics
'expo' is not recognized as an internal or external command,
operable program or batch file.
The text was updated successfully, but these errors were encountered: