expo / expo-cli

Tools for creating, running, and deploying universal Expo and React Native apps
https://docs.expo.io/workflow/expo-cli/
2.61k stars 477 forks source link

Cannot install expo-cli global (windows 10) #650

Closed AHAMES closed 5 years ago

AHAMES commented 5 years ago

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 bellow

Observed Behavior

npm WARN deprecated joi@14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated joi@11.4.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated topo@2.0.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN @expo/dev-tools@0.5.14 requires a peer of @expo/xdl@^53.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN ts-pnp@1.1.2 requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.

npm ERR! path C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c'
npm ERR!  [OperationalError: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c'] {
npm ERR!   cause: [Error: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c'] {
npm ERR!     errno: -4048,
npm ERR!     code: 'EPERM',
npm ERR!     syscall: 'unlink',
npm ERR!     path: 'C:\\Users\\Ahmed\\AppData\\Roaming\\npm\\node_modules\\.staging\\lodash-74eaa97c'
npm ERR!   },
npm ERR!   stack: 'Error: EPERM: operation not permitted, unlink ' +
npm ERR!     "'C:\\Users\\Ahmed\\AppData\\Roaming\\npm\\node_modules\\.staging\\lodash-74eaa97c'",
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'unlink',
npm ERR!   path: 'C:\\Users\\Ahmed\\AppData\\Roaming\\npm\\node_modules\\.staging\\lodash-74eaa97c',
npm ERR!   parent: '@babel/core'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ahmed\AppData\Roaming\npm-cache\_logs\2019-05-25T10_31_54_660Z-debug.log

yarn

yarn global v1.16.0
[1/4] Resolving packages...
warning expo-cli > @expo/xdl > joi@14.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
info There appears to be trouble with your network connection. Retrying...
warning expo-cli > @expo/xdl > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning expo-cli > @expo/xdl > joi > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning expo-cli > @expo/xdl > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi@11.4.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > topo@2.0.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > topo > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
[2/4] Fetching packages...
info @expo/traveling-fastlane-darwin@1.9.4: The platform "win32" is incompatible with this module.
info "@expo/traveling-fastlane-darwin@1.9.4" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-darwin-ia32@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-darwin-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-darwin-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-darwin-x64@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-darwin-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-freebsd-ia32@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-freebsd-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-freebsd-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-freebsd-x64@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-freebsd-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-linux-arm@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-linux-arm64@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-linux-arm64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-arm64@2.2.8: The CPU architecture "x64" is incompatible with this module.
info @expo/ngrok-bin-sunos-x64@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-sunos-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-x64@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-linux-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-win32-ia32@2.2.8-beta.1: The CPU architecture "x64" is incompatible with this module.
info "@expo/ngrok-bin-win32-ia32@2.2.8-beta.1" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-ia32@2.2.8: The platform "win32" is incompatible with this module.
info "@expo/ngrok-bin-linux-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/ngrok-bin-linux-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module.
info fsevents@1.2.9: The platform "win32" is incompatible with this module.
info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "expo-cli > @expo/dev-tools@0.5.14" has incorrect peer dependency "@expo/xdl@^53.8.0".
[4/4] Building fresh packages...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[4/5] ⠁ sharp
[-/5] ⠂ waiting...Terminate batch job (Y/N)? y

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.

Wellers0n commented 5 years ago

607

Wellers0n commented 5 years ago

perhaps may help you

cruzach commented 5 years ago

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 👍

liudonghua123 commented 5 years ago

I have the same issue, I use yarn global add expo-cli. The installation process was stucked in the

[4/4] Building fresh packages...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[4/5] ⠁ sharp
[-/5] ⠂ waiting...

It seems have some issue with sharp, see https://github.com/lovell/sharp/issues/1882

theanonhacker commented 5 years ago

I also have some issue in installing or upgrading expo. please check the generated log below.. i am attaching the log file. please check and give me solution. log file.txt

unrealmaow commented 5 years ago

I also have some issue in installing or upgrading expo. please check the generated log below.. i am attaching the log file. please check and give me solution. log file.txt

fatihyildizhan commented 4 years ago

I upgraded node version to 12 then used git bash. This scenario worked for me. I used the standard command: npm install expo-cli --global

shireefkhatab commented 4 years ago

In my case, i deleted two files then everything worked. the 2 files are in this path: C:\Users{Username}\AppData\Roaming\npm under the names 'expo.ps1' and 'expo-cli.ps1' then run:

npm i -g expo-cli@3.5.0

Hope that helps.

utsav284 commented 4 years ago

Follow the steps

ElyesChine commented 4 years ago

I deleted the file causing the problem (' C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c' in your case) When re-running the command , it works smoothly

mhpm commented 4 years ago

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 npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall unlink npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c' npm ERR! [OperationalError: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c'] { npm ERR! cause: [Error: EPERM: operation not permitted, unlink 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules.staging\lodash-74eaa97c'] { npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c' npm ERR! }, npm ERR! stack: 'Error: EPERM: operation not permitted, unlink ' + npm ERR! "'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c'", npm ERR! errno: -4048, npm ERR! code: 'EPERM', npm ERR! syscall: 'unlink', npm ERR! path: 'C:\Users\Ahmed\AppData\Roaming\npm\node_modules\.staging\lodash-74eaa97c', npm ERR! parent: '@babel/core' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR! or that you lack permissions to access it. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended).

mhpm commented 4 years ago

please help!

mhpm commented 4 years ago

nothing of above worked for me =(

fatihyildizhan commented 4 years ago

@mhpm

I used these to install it:

bash you need to change the default terminal as bash first. -> https://conemu.github.io/

maybe the new windows terminal does support bash too -> https://github.com/microsoft/terminal/releases

Nodejs: I don't need a higher version and it can give errors. -> v12.9.0

then run I ran this command on conEmu -> npm install expo-cli --global

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

mhpm commented 4 years ago

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? image

mhpm commented 4 years ago

solved finallly doing this: npm i expo-cli@3.5.0 --global thanks @fatihyildizhan for the time.

moelzanaty3 commented 4 years ago

npm cache clean --force then sudo npm install --unsafe-perm -g expo-cli

kgbuddhima commented 4 years ago

not worked for me

image

npm cache clean --force then sudo npm install --unsafe-perm -g expo-cli

fatihyildizhan commented 4 years ago

@kgbuddhima try this command npm i expo-cli@3.5.0 --global

if this does not work then follow these steps: https://gist.github.com/fatihyildizhan/98e89603272bce512cd7308dc2b5c461

NguyenHa1980 commented 4 years ago

Follow the steps

  • First, run npm cache verify.
  • Open Windows PowerShell as administrator and run npm install expo-cli --global --no-optional command.

Thanks

wellingtonmacena commented 4 years ago

Npm install -g expo-cli I runned the command and it showed the message

npm WARN deprecated request@2.88.2: request has been deprecated

i thought that the file was corrupt, but wasn't. it spent 15 minutes to install in my pc

kgbuddhima commented 4 years ago

npm WARN deprecated request@2.88.2: request has been deprecated

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.

sjoseilton commented 4 years ago

run: npm install expo-cli --global

atocchi commented 4 years ago

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.

garyng2000 commented 4 years ago

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).

alexisxz commented 4 years ago

I tried everything what you guys told, but the error npm WARN deprecated request@2.88.2: request has been deprecated

sjoseilton commented 4 years ago

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 notifications@github.com escreveu:

I tried everything what you guys told, but the error npm WARN deprecated request@2.88.2: request has been deprecated

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/expo/expo-cli/issues/650#issuecomment-610706436, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHF7HDKI3YEBXEG76Z34CTRLPJ67ANCNFSM4HPUMJ3Q .

fatihyildizhan commented 4 years ago

@alexisxz

I followed these steps to install it:

bash you need to change the default terminal as bash first.
-> https://conemu.github.io/

maybe the new windows terminal does support bash too
-> https://github.com/microsoft/terminal/releases

Install Nodejs: (I don't need a higher version and it can give errors.)
-> v12.9.0

clean npm cache
-> npm cache verify

then run I ran this command on conEmu
-> npm install expo-cli --global --no-optional

or
-> npm i expo-cli@3.5.0 --global 

or
-> npm install expo-cli --global 
cmcodes1 commented 4 years ago

yarn global add expo-cli

alexisxz commented 4 years ago

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

unikuam commented 4 years ago

This worked for me!! npm i -g --unsafe-perms --no-optional expo-cli

Make sure to clear the NPM cache before executing the above command.

alqama1 commented 4 years ago

PS C:\Users\Alqama> npm install expo-cli --global npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. npm WARN deprecated joi@11.4.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated topo@2.0.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). npm WARN deprecated @hapi/formula@2.0.0: This version has been deprecated and is no longer supported or maintained npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/traveling-fastlane-darwin@1.15.1 (node_modules\expo-cli\node_modules\@expo\traveling-fastlane-darwin): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/traveling-fastlane-darwin@1.15.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-darwin-x64@2.2.8 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-darwin-x64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-darwin-x64@2.2.8: wanted {"os":"darwin","arch":"x64"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-freebsd-ia32@2.2.8 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-freebsd-ia32): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-freebsd-ia32@2.2.8: wanted {"os":"freebsd","arch":"ia32"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-freebsd-x64@2.2.8 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-freebsd-x64): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-freebsd-x64@2.2.8: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-linux-arm@2.2.8 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-linux-arm): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-linux-arm@2.2.8: wanted {"os":"linux","arch":"arm"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-darwin-ia32@2.2.8 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-darwin-ia32): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-darwin-ia32@2.2.8: wanted {"os":"darwin","arch":"ia32"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-win32-ia32@2.2.8-beta.1 (node_modules\expo-cli\node_modules\@expo\ngrok-bin\node_modules\@expo\ngrok-bin-win32-ia32): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @expo/ngrok-bin-win32-ia32@2.2.8-beta.1: wanted {"os":"win32","arch":"ia32"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @expo/ngrok-bin-linux-x64@2.2.8 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

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: npm ERR! C:\Users\Alqama\AppData\Roaming\npm-cache_logs\2020-07-08T10_57_13_249Z-debug.log PS C:\Users\Alqama> npm -v 6.14.5

PS C:\Users\Alqama> node -v v12.18.2 PS C:\Users\Alqama>

yameogosamuel commented 4 years ago

I had the same problem with Windows. What worked for me was using the command prompt as an administrator

npm install expo-cli --global

richardiyama commented 4 years ago

yarn add expo-cli --global worked for me running as administrator on command prompt..I tried with npm and had issues.. see below: C:\WINDOWS\system32>yarn add expo-cli --global yarn add v1.22.4 info No lockfile found. [1/4] Resolving packages... warning expo-cli > @hapi/joi@17.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) warning expo-cli > @expo/build-tools > @hapi/joi@17.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) warning expo-cli > @expo/xdl > @hapi/joi@17.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411) warning expo-cli > @hapi/joi > @hapi/formula@2.0.0: This version has been deprecated and is no longer supported or maintained warning expo-cli > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. warning expo-cli > @expo/xdl > @expo/ngrok > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning expo-cli > @expo/xdl > probe-image-size > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning expo-cli > @expo/xdl > webpack-dev-server > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning expo-cli > pacote > @npmcli/run-script > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning expo-cli > @expo/xdl > @expo/ngrok > request > har-validator@5.1.5: this library is no longer supported warning expo-cli > @expo/xdl > webpack-dev-server > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. warning expo-cli > @expo/xdl > webpack > watchpack > watchpack-chokidar2 > chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi@11.4.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). warning expo-cli > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated warning expo-cli > react-dev-utils > fork-ts-checker-webpack-plugin > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > topo@2.0.2: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). warning expo-cli > @expo/xdl > @expo/webpack-config > workbox-webpack-plugin > workbox-build > joi > topo > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial). [2/4] Fetching packages... info @expo/traveling-fastlane-darwin@1.15.1: The platform "win32" is incompatible with this module. info "@expo/traveling-fastlane-darwin@1.15.1" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-darwin-x64@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-darwin-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-darwin-ia32@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-darwin-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-darwin-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module. info @expo/ngrok-bin-freebsd-ia32@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-freebsd-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-freebsd-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module. info @expo/ngrok-bin-freebsd-x64@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-freebsd-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-linux-arm@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-linux-arm@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-linux-arm@2.2.8: The CPU architecture "x64" is incompatible with this module. info @expo/ngrok-bin-linux-arm64@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-linux-arm64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-linux-arm64@2.2.8: The CPU architecture "x64" is incompatible with this module. info @expo/ngrok-bin-linux-ia32@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-linux-ia32@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-linux-ia32@2.2.8: The CPU architecture "x64" is incompatible with this module. info @expo/ngrok-bin-sunos-x64@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-sunos-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-linux-x64@2.2.8: The platform "win32" is incompatible with this module. info "@expo/ngrok-bin-linux-x64@2.2.8" is an optional dependency and failed compatibility check. Excluding it from installation. info @expo/ngrok-bin-win32-ia32@2.2.8-beta.1: The CPU architecture "x64" is incompatible with this module. info "@expo/ngrok-bin-win32-ia32@2.2.8-beta.1" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@1.2.13: The platform "win32" is incompatible with this module. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.1.3: The platform "win32" is incompatible with this module. info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "expo-cli > @expo/config > @babel/register@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0". warning "expo-cli > @expo/xdl > @expo/webpack-config > @pmmmwh/react-refresh-webpack-plugin@0.3.3" has unmet peer dependency "react-refresh@^0.8.2". warning "expo-cli > @expo/xdl > @expo/dev-server > @expo/metro-config > metro-react-native-babel-transformer@0.58.0" has unmet peer dependency "@babel/core@*". [4/4] Building fresh packages... success Saved lockfile. success Saved 917 new dependencies. info Direct dependencies └─ expo-cli@3.24.0 info All dependencies ├─ @babel/compat-data@7.11.0 ├─ @babel/helper-builder-binary-assignment-operator-visitor@7.10.4 ├─ @babel/helper-builder-react-jsx-experimental@7.10.5 ├─ @babel/helper-builder-react-jsx@7.10.4 ├─ @babel/helper-compilation-targets@7.10.4 ├─ @babel/helper-create-class-features-plugin@7.10.5 ├─ @babel/helper-define-map@7.10.5 ├─ @babel/helper-explode-assignable-expression@7.10.4 ├─ @babel/helper-hoist-variables@7.10.4 ├─ @babel/helper-member-expression-to-functions@7.11.0 ├─ @babel/helper-wrap-function@7.10.4 ├─ @babel/helpers@7.10.4 ├─ @babel/highlight@7.10.4 ├─ @babel/parser@7.11.3 ├─ @babel/plugin-proposal-async-generator-functions@7.10.5 ├─ @babel/plugin-proposal-dynamic-import@7.10.4 ├─ @babel/plugin-proposal-export-default-from@7.10.4 ├─ @babel/plugin-proposal-export-namespace-from@7.10.4 ├─ @babel/plugin-proposal-json-strings@7.10.4 ├─ @babel/plugin-proposal-logical-assignment-operators@7.11.0 ├─ @babel/plugin-proposal-nullish-coalescing-operator@7.10.4 ├─ @babel/plugin-proposal-numeric-separator@7.10.4 ├─ @babel/plugin-proposal-optional-catch-binding@7.10.4 ├─ @babel/plugin-proposal-optional-chaining@7.11.0 ├─ @babel/plugin-proposal-private-methods@7.10.4 ├─ @babel/plugin-proposal-unicode-property-regex@7.10.4 ├─ @babel/plugin-syntax-class-properties@7.10.4 ├─ @babel/plugin-syntax-dynamic-import@7.8.3 ├─ @babel/plugin-syntax-export-default-from@7.10.4 ├─ @babel/plugin-syntax-flow@7.10.4 ├─ @babel/plugin-syntax-object-rest-spread@7.8.3 ├─ @babel/plugin-syntax-top-level-await@7.10.4 ├─ @babel/plugin-syntax-typescript@7.10.4 ├─ @babel/plugin-transform-async-to-generator@7.10.4 ├─ @babel/plugin-transform-block-scoped-functions@7.10.4 ├─ @babel/plugin-transform-dotall-regex@7.10.4 ├─ @babel/plugin-transform-duplicate-keys@7.10.4 ├─ @babel/plugin-transform-exponentiation-operator@7.10.4 ├─ @babel/plugin-transform-member-expression-literals@7.10.4 ├─ @babel/plugin-transform-modules-amd@7.10.5 ├─ @babel/plugin-transform-modules-systemjs@7.10.5 ├─ @babel/plugin-transform-modules-umd@7.10.4 ├─ @babel/plugin-transform-named-capturing-groups-regex@7.10.4 ├─ @babel/plugin-transform-new-target@7.10.4 ├─ @babel/plugin-transform-object-assign@7.10.4 ├─ @babel/plugin-transform-object-super@7.10.4 ├─ @babel/plugin-transform-property-literals@7.10.4 ├─ @babel/plugin-transform-react-jsx-source@7.10.5 ├─ @babel/plugin-transform-regenerator@7.10.4 ├─ @babel/plugin-transform-reserved-words@7.10.4 ├─ @babel/plugin-transform-runtime@7.11.0 ├─ @babel/plugin-transform-sticky-regex@7.10.4 ├─ @babel/plugin-transform-typeof-symbol@7.10.4 ├─ @babel/plugin-transform-typescript@7.11.0 ├─ @babel/plugin-transform-unicode-escapes@7.10.4 ├─ @babel/plugin-transform-unicode-regex@7.10.4 ├─ @babel/preset-env@7.11.0 ├─ @babel/preset-modules@0.1.3 ├─ @babel/preset-typescript@7.10.4 ├─ @babel/register@7.10.5 ├─ @expo/babel-preset-cli@0.2.17 ├─ @expo/build-tools@0.1.13 ├─ @expo/dev-server@0.1.20 ├─ @expo/dev-tools@0.13.32 ├─ @expo/downloader@0.0.8 ├─ @expo/fastlane@0.0.13 ├─ @expo/image-utils@0.3.1 ├─ @expo/metro-config@0.1.20 ├─ @expo/ngrok-bin-win32-x64@2.2.8-beta.1 ├─ @expo/ngrok-bin@2.2.8-beta.3 ├─ @expo/ngrok@2.4.3 ├─ @expo/osascript@2.0.23 ├─ @expo/results@1.0.0 ├─ @expo/schemer@1.3.20 ├─ @expo/simple-spinner@1.0.2 ├─ @expo/template-file@0.1.7 ├─ @expo/traveling-fastlane-linux@1.15.1 ├─ @expo/webpack-config@0.12.23 ├─ @expo/xdl@57.9.29 ├─ @hapi/address@4.1.0 ├─ @hapi/formula@2.0.0 ├─ @hapi/pinpoint@2.0.0 ├─ @hapi/topo@5.0.0 ├─ @jest/types@25.5.0 ├─ @jimp/bmp@0.9.8 ├─ @jimp/core@0.9.8 ├─ @jimp/custom@0.9.8 ├─ @jimp/gif@0.9.8 ├─ @jimp/jpeg@0.9.8 ├─ @jimp/plugin-blit@0.9.8 ├─ @jimp/plugin-blur@0.9.8 ├─ @jimp/plugin-circle@0.9.8 ├─ @jimp/plugin-color@0.9.8 ├─ @jimp/plugin-contain@0.9.8 ├─ @jimp/plugin-cover@0.9.8 ├─ @jimp/plugin-crop@0.9.8 ├─ @jimp/plugin-displace@0.9.8 ├─ @jimp/plugin-dither@0.9.8 ├─ @jimp/plugin-fisheye@0.9.8 ├─ @jimp/plugin-flip@0.9.8 ├─ @jimp/plugin-gaussian@0.9.8 ├─ @jimp/plugin-invert@0.9.8 ├─ @jimp/plugin-mask@0.9.8 ├─ @jimp/plugin-normalize@0.9.8 ├─ @jimp/plugin-print@0.9.8 ├─ @jimp/plugin-resize@0.9.8 ├─ @jimp/plugin-rotate@0.9.8 ├─ @jimp/plugin-scale@0.9.8 ├─ @jimp/plugin-shadow@0.9.8 ├─ @jimp/plugin-threshold@0.9.8 ├─ @jimp/plugins@0.9.8 ├─ @jimp/png@0.9.8 ├─ @jimp/tiff@0.9.8 ├─ @jimp/types@0.9.8 ├─ @mrmlnc/readdir-enhanced@2.2.1 ├─ @nodelib/fs.scandir@2.1.3 ├─ @nodelib/fs.stat@2.0.3 ├─ @nodelib/fs.walk@1.2.4 ├─ @npmcli/ci-detect@1.3.0 ├─ @npmcli/git@2.0.3 ├─ @npmcli/move-file@1.0.1 ├─ @npmcli/run-script@1.5.0 ├─ @pmmmwh/react-refresh-webpack-plugin@0.3.3 ├─ @react-native-community/cli-debugger-ui@4.9.0 ├─ @react-native-community/cli-server-api@4.9.0 ├─ @react-native-community/cli-tools@4.11.0 ├─ @segment/loosely-validate-event@2.0.0 ├─ @sindresorhus/is@3.1.1 ├─ @szmarczak/http-timer@4.0.5 ├─ @tootallnate/once@1.1.2 ├─ @types/anymatch@1.3.1 ├─ @types/cacheable-request@6.0.1 ├─ @types/color-name@1.1.1 ├─ @types/configstore@2.1.1 ├─ @types/debug@0.0.30 ├─ @types/events@3.0.0 ├─ @types/get-port@3.2.0 ├─ @types/glob@7.1.3 ├─ @types/html-minifier-terser@5.1.0 ├─ @types/http-cache-semantics@4.0.0 ├─ @types/istanbul-lib-report@3.0.0 ├─ @types/istanbul-reports@1.1.2 ├─ @types/json-schema@7.0.5 ├─ @types/keyv@3.1.1 ├─ @types/lodash@4.14.159 ├─ @types/mkdirp@0.5.2 ├─ @types/q@1.5.4 ├─ @types/responselike@1.0.0 ├─ @types/retry@0.12.0 ├─ @types/rimraf@2.0.4 ├─ @types/source-list-map@0.1.2 ├─ @types/tapable@1.0.6 ├─ @types/tmp@0.0.33 ├─ @types/uglify-js@3.9.3 ├─ @types/webpack-sources@1.4.2 ├─ @types/webpack@4.41.21 ├─ @types/yargs-parser@15.0.0 ├─ @types/yargs@15.0.5 ├─ @webassemblyjs/floating-point-hex-parser@1.9.0 ├─ @webassemblyjs/helper-code-frame@1.9.0 ├─ @webassemblyjs/helper-fsm@1.9.0 ├─ @webassemblyjs/helper-wasm-section@1.9.0 ├─ @webassemblyjs/wasm-edit@1.9.0 ├─ @webassemblyjs/wasm-opt@1.9.0 ├─ @wry/equality@0.1.11 ├─ @xtuc/ieee754@1.2.0 ├─ abbrev@1.1.1 ├─ acorn@6.4.1 ├─ address@1.1.2 ├─ agentkeepalive@4.1.3 ├─ ajv-errors@1.0.1 ├─ ajv@6.12.4 ├─ analytics-node@3.3.0 ├─ ansi-align@3.0.0 ├─ ansi-colors@3.2.4 ├─ ansi-html@0.0.7 ├─ any-base@1.1.0 ├─ anymatch@2.0.0 ├─ apollo-link@1.2.1 ├─ apollo-utilities@1.3.4 ├─ application-config-path@0.1.0 ├─ aproba@1.2.0 ├─ are-we-there-yet@1.1.5 ├─ argparse@1.0.10 ├─ arr-flatten@1.1.0 ├─ array-filter@0.0.1 ├─ array-map@0.0.0 ├─ array-reduce@0.0.0 ├─ array-uniq@1.0.3 ├─ arrify@1.0.1 ├─ asap@2.0.6 ├─ asn1.js@5.4.1 ├─ asn1@0.2.4 ├─ assert@1.5.0 ├─ assign-symbols@1.0.0 ├─ async-each@1.0.3 ├─ async@0.9.2 ├─ atob@2.1.2 ├─ aws-sign2@0.7.0 ├─ aws4@1.10.1 ├─ axios-retry@3.1.8 ├─ babel-code-frame@6.26.0 ├─ babel-extract-comments@1.0.0 ├─ babel-plugin-syntax-object-rest-spread@6.13.0 ├─ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0 ├─ babel-plugin-transform-object-rest-spread@6.26.0 ├─ babel-preset-fbjs@3.3.0 ├─ babylon@6.18.0 ├─ backo2@1.0.2 ├─ balanced-match@1.0.0 ├─ base@0.11.2 ├─ base32.js@0.1.0 ├─ base64url@3.0.1 ├─ batch@0.6.1 ├─ bcrypt-pbkdf@1.0.2 ├─ big-integer@1.6.48 ├─ binary-extensions@1.13.1 ├─ bl@1.2.2 ├─ bluebird@3.7.2 ├─ bmp-js@0.1.0 ├─ bonjour@3.5.0 ├─ boolbase@1.0.0 ├─ bplist-creator@0.0.8 ├─ bplist-parser@0.2.0 ├─ brace-expansion@1.1.11 ├─ braces@2.3.2 ├─ browserify-aes@1.2.0 ├─ browserify-cipher@1.0.1 ├─ browserify-des@1.0.2 ├─ browserify-rsa@4.0.1 ├─ browserify-sign@4.2.1 ├─ browserify-zlib@0.2.0 ├─ buffer-alloc-unsafe@1.1.0 ├─ buffer-alloc@1.2.0 ├─ buffer-equal@0.0.1 ├─ buffer-fill@1.0.0 ├─ buffer-indexof@1.1.1 ├─ buffer-xor@1.0.3 ├─ buffer@4.9.2 ├─ builtin-status-codes@3.0.0 ├─ builtins@1.0.3 ├─ cache-base@1.0.1 ├─ cacheable-lookup@5.0.3 ├─ cacheable-request@7.0.1 ├─ call-me-maybe@1.0.1 ├─ caller-callsite@2.0.0 ├─ caller-path@2.0.0 ├─ callsite@1.0.0 ├─ camel-case@3.0.0 ├─ camelcase@5.3.1 ├─ caniuse-lite@1.0.30001114 ├─ capture-stack-trace@1.0.1 ├─ caseless@0.12.0 ├─ chardet@0.4.2 ├─ charenc@0.0.2 ├─ chokidar@2.1.8 ├─ chrome-trace-event@1.0.2 ├─ ci-info@1.6.0 ├─ class-utils@0.3.6 ├─ clean-css@4.2.3 ├─ clean-stack@2.2.0 ├─ clean-webpack-plugin@3.0.0 ├─ cli-boxes@2.2.0 ├─ cli-spinners@2.4.0 ├─ cli-table3@0.6.0 ├─ cliui@5.0.0 ├─ clone@1.0.4 ├─ co@4.6.0 ├─ code-point-at@1.1.0 ├─ collection-visit@1.0.0 ├─ color-convert@1.9.3 ├─ color-name@1.1.4 ├─ color-string@1.5.3 ├─ color@3.1.2 ├─ colors@1.4.0 ├─ combined-stream@1.0.8 ├─ command-exists@1.2.9 ├─ commander@2.20.3 ├─ common-tags@1.8.0 ├─ component-type@1.2.1 ├─ compressible@2.0.18 ├─ compression@1.7.4 ├─ concat-map@0.0.1 ├─ concat-stream@1.6.2 ├─ configstore@3.1.4 ├─ connect-history-api-fallback@1.6.0 ├─ connect@3.7.0 ├─ consola@2.15.0 ├─ console-browserify@1.2.0 ├─ console-control-strings@1.1.0 ├─ constants-browserify@1.0.0 ├─ content-disposition@0.5.2 ├─ copy-concurrently@1.0.5 ├─ copy-descriptor@0.1.1 ├─ copy-webpack-plugin@6.0.3 ├─ core-js-compat@3.6.5 ├─ core-util-is@1.0.2 ├─ cosmiconfig@5.2.1 ├─ create-ecdh@4.0.4 ├─ create-error-class@3.0.2 ├─ create-hmac@1.1.7 ├─ cross-spawn@6.0.5 ├─ crypt@0.0.2 ├─ crypto-browserify@3.12.0 ├─ crypto-random-string@1.0.0 ├─ css-color-names@0.0.4 ├─ css-declaration-sorter@4.0.1 ├─ css-loader@3.6.0 ├─ css-select-base-adapter@0.1.1 ├─ css-select@1.2.0 ├─ css-tree@1.0.0-alpha.37 ├─ css-what@2.1.3 ├─ cssnano-preset-default@4.0.7 ├─ cssnano-util-raw-cache@4.0.1 ├─ cssnano-util-same-parent@4.0.1 ├─ cssnano@4.1.10 ├─ csso@4.0.3 ├─ cyclist@1.0.1 ├─ dashdash@1.14.1 ├─ dateformat@3.0.3 ├─ debug@2.6.9 ├─ debuglog@1.0.1 ├─ decache@4.4.0 ├─ decamelize@1.2.0 ├─ decode-uri-component@0.2.0 ├─ decompress-response@6.0.0 ├─ deep-equal@1.1.1 ├─ deep-extend@0.6.0 ├─ deep-scope-analyser@1.7.0 ├─ deepmerge@2.2.1 ├─ default-gateway@4.2.0 ├─ defaults@1.0.3 ├─ defer-to-connect@2.0.0 ├─ delegates@1.0.0 ├─ depd@1.1.2 ├─ deprecated-decorator@0.1.6 ├─ des.js@1.0.1 ├─ detect-node@2.0.4 ├─ detect-port-alt@1.1.6 ├─ devcert@1.1.2 ├─ dezalgo@1.0.3 ├─ diffie-hellman@5.0.3 ├─ dir-glob@2.0.0 ├─ dns-equal@1.0.0 ├─ dns-packet@1.3.1 ├─ dns-txt@2.0.2 ├─ dom-converter@0.2.0 ├─ dom-walk@0.1.2 ├─ domain-browser@1.2.0 ├─ domutils@1.7.0 ├─ dot-case@3.0.3 ├─ dot-prop-legacy@4.2.1 ├─ dot-prop@5.2.0 ├─ duplexer@0.1.2 ├─ duplexify@3.7.1 ├─ ecc-jsbn@0.1.2 ├─ ee-first@1.1.1 ├─ electron-to-chromium@1.3.533 ├─ emoji-regex@8.0.0 ├─ encoding@0.1.13 ├─ enhanced-resolve@4.3.0 ├─ env-editor@0.4.1 ├─ env-paths@2.2.0 ├─ envinfo@7.5.0 ├─ eol@0.9.1 ├─ err-code@1.1.2 ├─ errno@0.1.7 ├─ error-ex@1.3.2 ├─ error-stack-parser@2.0.6 ├─ errorhandler@1.5.1 ├─ es-to-primitive@1.2.1 ├─ es6-error@4.1.1 ├─ escalade@3.0.2 ├─ escape-string-regexp@1.0.5 ├─ eslint-scope@4.0.3 ├─ esprima@4.0.1 ├─ esrecurse@4.2.1 ├─ estraverse@4.3.0 ├─ eventemitter3@2.0.3 ├─ events@3.2.0 ├─ eventsource@1.0.7 ├─ exec-async@2.2.0 ├─ execa@1.0.0 ├─ exif-parser@0.1.12 ├─ expand-brackets@2.1.4 ├─ expo-cli@3.24.0 ├─ expo-pwa@0.0.30 ├─ extend@3.0.2 ├─ external-editor@2.2.0 ├─ extglob@2.0.4 ├─ extsprintf@1.3.0 ├─ fast-deep-equal@3.1.3 ├─ fast-glob@3.2.4 ├─ fastq@1.8.0 ├─ faye-websocket@0.10.0 ├─ file-loader@6.0.0 ├─ file-type@9.0.0 ├─ filesize@6.0.1 ├─ fill-range@4.0.0 ├─ finalhandler@1.1.2 ├─ flush-write-stream@1.1.1 ├─ follow-redirects@1.13.0 ├─ for-in@1.0.2 ├─ forever-agent@0.6.1 ├─ fork-ts-checker-webpack-plugin@3.1.1 ├─ form-data@2.3.2 ├─ forwarded@0.1.2 ├─ from2@2.3.0 ├─ fs-constants@1.0.0 ├─ fs.realpath@1.0.0 ├─ gauge@2.7.4 ├─ get-caller-file@2.0.5 ├─ get-own-enumerable-property-symbols@3.0.2 ├─ get-port@3.2.0 ├─ get-stream@4.1.0 ├─ get-value@2.0.6 ├─ getenv@0.7.0 ├─ getpass@0.1.7 ├─ glob-parent@5.1.1 ├─ glob-to-regexp@0.3.0 ├─ global-modules@2.0.0 ├─ global-prefix@3.0.0 ├─ global@4.3.2 ├─ globby@8.0.2 ├─ graphql-tools@3.0.0 ├─ graphql@0.13.2 ├─ gzip-size@5.1.1 ├─ handle-thing@2.0.1 ├─ har-schema@2.0.0 ├─ har-validator@5.1.5 ├─ has-ansi@2.0.0 ├─ has-unicode@2.0.1 ├─ has-value@1.0.0 ├─ hasbin@1.2.3 ├─ hash.js@1.1.7 ├─ hashids@1.1.4 ├─ he@1.1.1 ├─ hex-color-regex@1.1.0 ├─ hmac-drbg@1.0.1 ├─ hpack.js@2.1.6 ├─ hsl-regex@1.0.0 ├─ hsla-regex@1.0.0 ├─ html-comment-regex@1.1.2 ├─ html-entities@1.3.1 ├─ html-loader@1.1.0 ├─ html-minifier-terser@5.1.1 ├─ html-webpack-plugin@4.3.0 ├─ htmlparser2@4.1.0 ├─ http-cache-semantics@4.1.0 ├─ http-deceiver@1.2.7 ├─ http-errors@1.6.3 ├─ http-parser-js@0.5.2 ├─ http-proxy-agent@4.0.1 ├─ http-proxy-middleware@0.19.1 ├─ http-proxy@1.18.1 ├─ http-signature@1.2.0 ├─ http2-wrapper@1.0.0-beta.5.2 ├─ https-browserify@1.0.0 ├─ https-proxy-agent@5.0.0 ├─ humanize-ms@1.2.1 ├─ icss-utils@4.1.1 ├─ idx@2.4.0 ├─ ignore-walk@3.0.3 ├─ ignore@3.3.10 ├─ immer@1.10.0 ├─ import-fresh@2.0.0 ├─ import-local@2.0.0 ├─ indent-string@4.0.0 ├─ infer-owner@1.0.4 ├─ inflight@1.0.6 ├─ ini@1.3.5 ├─ internal-ip@4.3.0 ├─ ip-regex@2.1.0 ├─ ip@1.1.5 ├─ ipaddr.js@1.9.1 ├─ is-absolute-url@3.0.3 ├─ is-accessor-descriptor@1.0.0 ├─ is-arguments@1.0.4 ├─ is-arrayish@0.2.1 ├─ is-binary-path@1.0.1 ├─ is-callable@1.2.0 ├─ is-color-stop@1.1.0 ├─ is-data-descriptor@1.0.0 ├─ is-descriptor@1.0.2 ├─ is-directory@0.3.1 ├─ is-extglob@2.1.1 ├─ is-function@1.0.2 ├─ is-glob@4.0.1 ├─ is-lambda@1.0.1 ├─ is-obj@1.0.1 ├─ is-path-cwd@2.2.0 ├─ is-path-in-cwd@2.1.0 ├─ is-path-inside@2.1.0 ├─ is-plain-object@2.0.4 ├─ is-redirect@1.0.0 ├─ is-regex@1.1.1 ├─ is-resolvable@1.1.0 ├─ is-retry-allowed@1.2.0 ├─ is-root@2.1.0 ├─ is-stream@1.1.0 ├─ is-svg@3.0.0 ├─ is-symbol@1.0.3 ├─ is-typedarray@1.0.0 ├─ is-windows@1.0.2 ├─ isarray@1.0.0 ├─ isemail@3.2.0 ├─ isstream@0.1.2 ├─ jest-worker@26.3.0 ├─ jimp@0.9.8 ├─ joi@11.4.0 ├─ join-component@1.1.0 ├─ jpeg-js@0.3.7 ├─ js-tokens@4.0.0 ├─ jsesc@2.5.2 ├─ json-buffer@3.0.1 ├─ json-parse-better-errors@1.0.2 ├─ json-parse-even-better-errors@2.2.0 ├─ json-schema-traverse@0.3.1 ├─ json-schema@0.2.3 ├─ json-stable-stringify@1.0.1 ├─ json-stringify-safe@5.0.1 ├─ json3@3.3.3 ├─ jsonparse@1.3.1 ├─ jsprim@1.4.1 ├─ keyv@4.0.1 ├─ killable@1.0.1 ├─ kind-of@3.2.2 ├─ klaw-sync@6.0.0 ├─ kleur@3.0.3 ├─ last-call-webpack-plugin@3.0.0 ├─ latest-version@5.1.0 ├─ load-bmfont@1.4.1 ├─ loader-runner@2.4.0 ├─ loader-utils@1.4.0 ├─ locate-path@3.0.0 ├─ lock@0.1.4 ├─ lodash.assign@4.2.0 ├─ lodash.debounce@4.0.8 ├─ lodash.isobject@3.0.2 ├─ lodash.memoize@4.1.2 ├─ lodash.template@4.5.0 ├─ lodash.templatesettings@4.2.0 ├─ lodash.uniq@4.5.0 ├─ log-symbols@2.2.0 ├─ logfmt@1.3.2 ├─ loglevel@1.6.8 ├─ loose-envify@1.4.0 ├─ lower-case@2.0.1 ├─ make-dir@2.1.0 ├─ make-fetch-happen@8.0.9 ├─ map-visit@1.0.0 ├─ md5-file@5.0.0 ├─ md5hex@1.0.0 ├─ mdn-data@2.0.4 ├─ media-typer@0.3.0 ├─ merge-stream@2.0.0 ├─ metro-babel-transformer@0.58.0 ├─ metro-react-native-babel-preset@0.58.0 ├─ metro-react-native-babel-transformer@0.58.0 ├─ metro-symbolicate@0.58.0 ├─ microevent.ts@0.1.1 ├─ miller-rabin@4.0.1 ├─ mime-db@1.44.0 ├─ mime-types@2.1.27 ├─ mimic-fn@1.2.0 ├─ min-document@2.19.0 ├─ mini-css-extract-plugin@0.5.0 ├─ minimalistic-crypto-utils@1.0.1 ├─ minipass-json-stream@1.0.1 ├─ minipass-sized@1.0.3 ├─ mississippi@3.0.0 ├─ mixin-deep@1.3.2 ├─ mkdirp@0.5.5 ├─ move-concurrently@1.0.1 ├─ multicast-dns-service-types@1.1.0 ├─ multicast-dns@6.2.3 ├─ mute-stream@0.0.7 ├─ mz@2.7.0 ├─ nanomatch@1.2.13 ├─ native-url@0.2.6 ├─ ncp@2.0.0 ├─ negotiator@0.6.2 ├─ neo-async@2.6.2 ├─ nice-try@1.0.5 ├─ node-forge@0.7.6 ├─ node-gyp@6.1.0 ├─ node-html-parser@1.2.20 ├─ node-libs-browser@2.2.1 ├─ node-modules-regexp@1.0.0 ├─ node-releases@1.1.60 ├─ nopt@4.0.3 ├─ npm-install-checks@4.0.0 ├─ npm-registry-fetch@8.1.3 ├─ npm-run-path@2.0.2 ├─ npmlog@4.1.2 ├─ nth-check@1.0.2 ├─ number-is-nan@1.0.1 ├─ oauth-sign@0.9.0 ├─ ob1@0.58.0 ├─ object-copy@0.1.0 ├─ object-inspect@1.8.0 ├─ object-is@1.1.2 ├─ object.entries@1.1.2 ├─ object.getownpropertydescriptors@2.1.0 ├─ object.values@1.1.1 ├─ obuf@1.1.2 ├─ omggif@1.0.10 ├─ on-headers@1.0.2 ├─ onetime@2.0.1 ├─ open@7.1.0 ├─ opn@5.5.0 ├─ optimize-css-assets-webpack-plugin@5.0.3 ├─ options@0.0.6 ├─ ora@3.4.0 ├─ original@1.0.2 ├─ os-browserify@0.3.0 ├─ os-homedir@1.0.2 ├─ os-tmpdir@1.0.2 ├─ osenv@0.1.5 ├─ p-cancelable@2.0.0 ├─ p-limit@2.3.0 ├─ p-locate@3.0.0 ├─ p-map@4.0.0 ├─ p-retry@4.1.0 ├─ p-timeout@3.1.0 ├─ package-json@6.4.0 ├─ pacote@11.1.11 ├─ pako@1.0.11 ├─ parallel-transform@1.2.0 ├─ param-case@3.0.3 ├─ parse-asn1@5.1.6 ├─ parse-bmfont-ascii@1.0.6 ├─ parse-bmfont-binary@1.0.6 ├─ parse-bmfont-xml@1.1.4 ├─ parse-headers@2.0.3 ├─ parse-json@4.0.0 ├─ parse-png@2.1.0 ├─ parse-srcset@1.0.2 ├─ pascal-case@2.0.1 ├─ pascalcase@0.1.1 ├─ password-prompt@1.1.2 ├─ path-browserify@0.0.1 ├─ path-dirname@1.0.2 ├─ path-exists@3.0.0 ├─ path-is-inside@1.0.2 ├─ path-key@2.0.1 ├─ path-parse@1.0.6 ├─ path-type@3.0.0 ├─ performance-now@2.1.0 ├─ pinkie-promise@2.0.1 ├─ pinkie@2.0.4 ├─ pirates@4.0.1 ├─ pixelmatch@4.0.2 ├─ pkg-up@3.1.0 ├─ pngjs@3.4.0 ├─ pnp-webpack-plugin@1.6.4 ├─ portfinder@1.0.28 ├─ posix-character-classes@0.1.1 ├─ postcss-calc@7.0.3 ├─ postcss-colormin@4.0.3 ├─ postcss-convert-values@4.0.1 ├─ postcss-discard-comments@4.0.2 ├─ postcss-discard-duplicates@4.0.2 ├─ postcss-discard-empty@4.0.1 ├─ postcss-discard-overridden@4.0.1 ├─ postcss-merge-longhand@4.0.11 ├─ postcss-merge-rules@4.0.3 ├─ postcss-minify-font-values@4.0.2 ├─ postcss-minify-gradients@4.0.2 ├─ postcss-minify-params@4.0.2 ├─ postcss-minify-selectors@4.0.2 ├─ postcss-modules-extract-imports@2.0.0 ├─ postcss-modules-local-by-default@3.0.3 ├─ postcss-modules-scope@2.2.0 ├─ postcss-modules-values@3.0.0 ├─ postcss-normalize-charset@4.0.1 ├─ postcss-normalize-display-values@4.0.2 ├─ postcss-normalize-positions@4.0.2 ├─ postcss-normalize-repeat-style@4.0.2 ├─ postcss-normalize-string@4.0.2 ├─ postcss-normalize-timing-functions@4.0.2 ├─ postcss-normalize-unicode@4.0.1 ├─ postcss-normalize-url@4.0.1 ├─ postcss-normalize-whitespace@4.0.2 ├─ postcss-ordered-values@4.1.2 ├─ postcss-reduce-initial@4.0.3 ├─ postcss-reduce-transforms@4.0.2 ├─ postcss-safe-parser@4.0.2 ├─ postcss-svgo@4.0.2 ├─ postcss-unique-selectors@4.0.1 ├─ prepend-http@2.0.0 ├─ pretty-bytes@4.0.2 ├─ pretty-error@2.1.1 ├─ pretty-format@25.5.0 ├─ pretty-time@1.1.0 ├─ probe-image-size@4.0.0 ├─ process-nextick-args@2.0.1 ├─ process@0.11.10 ├─ progress@2.0.3 ├─ prompts@2.3.2 ├─ proxy-addr@2.0.6 ├─ prr@1.0.1 ├─ psl@1.8.0 ├─ public-encrypt@4.0.3 ├─ pumpify@1.5.1 ├─ punycode@2.1.1 ├─ q@1.5.1 ├─ qrcode-terminal@0.11.0 ├─ querystring-es3@0.2.1 ├─ querystring@0.2.0 ├─ querystringify@2.1.1 ├─ quick-lru@5.1.1 ├─ randomfill@1.0.4 ├─ range-parser@1.2.1 ├─ raven@2.6.3 ├─ raw-body@2.4.0 ├─ rc@1.2.8 ├─ react-dev-utils@10.2.1 ├─ react-error-overlay@6.0.7 ├─ react-is@16.13.1 ├─ react-refresh@0.4.3 ├─ read-chunk@3.2.0 ├─ read-last-lines@1.6.0 ├─ readdir-scoped-modules@1.1.0 ├─ readdirp@2.2.1 ├─ recursive-readdir@2.2.2 ├─ regenerate-unicode-properties@8.2.0 ├─ regenerator-runtime@0.13.7 ├─ regenerator-transform@0.14.5 ├─ regexp.prototype.flags@1.3.0 ├─ regexpu-core@4.7.0 ├─ registry-auth-token@3.4.0 ├─ regjsgen@0.5.2 ├─ regjsparser@0.6.4 ├─ relateurl@0.2.7 ├─ remove-trailing-separator@1.1.0 ├─ remove-trailing-slash@0.1.0 ├─ renderkid@2.0.3 ├─ repeat-element@1.1.3 ├─ replace-string@1.1.0 ├─ request@2.88.2 ├─ require-directory@2.1.1 ├─ require-main-filename@2.0.0 ├─ resolve-alpn@1.0.0 ├─ resolve-cwd@2.0.0 ├─ resolve-url@0.2.1 ├─ resolve@1.17.0 ├─ restore-cursor@2.0.0 ├─ ret@0.1.15 ├─ reusify@1.0.4 ├─ rgb-regex@1.0.1 ├─ rgba-regex@1.0.0 ├─ run-parallel@1.1.9 ├─ run-queue@1.0.3 ├─ rxjs@5.5.12 ├─ sax@1.2.4 ├─ select-hose@2.0.0 ├─ selfsigned@1.10.7 ├─ semver@5.7.1 ├─ serialize-error@5.0.0 ├─ serve-index@1.9.1 ├─ set-blocking@2.0.0 ├─ set-value@2.0.1 ├─ setimmediate@1.0.5 ├─ shebang-command@1.2.0 ├─ shebang-regex@1.0.0 ├─ shell-quote@1.7.2 ├─ simple-plist@1.1.0 ├─ simple-swizzle@0.2.2 ├─ sisteransi@1.0.5 ├─ slash@1.0.0 ├─ slugid@1.1.0 ├─ slugify@1.4.5 ├─ smart-buffer@4.1.0 ├─ snapdragon-node@2.1.1 ├─ snapdragon-util@3.0.1 ├─ sockjs-client@1.4.0 ├─ sockjs@0.3.20 ├─ socks-proxy-agent@5.0.0 ├─ socks@2.4.1 ├─ source-list-map@2.0.1 ├─ source-map-resolve@0.5.3 ├─ source-map-support@0.5.19 ├─ source-map-url@0.4.0 ├─ spdy-transport@3.0.0 ├─ spdy@4.0.2 ├─ split-string@3.1.0 ├─ split@1.0.1 ├─ sprintf-js@1.0.3 ├─ sshpk@1.16.1 ├─ stable@0.1.8 ├─ stack-trace@0.0.10 ├─ stackframe@1.2.0 ├─ static-extend@0.1.2 ├─ std-env@2.2.1 ├─ stream-browserify@2.0.2 ├─ stream-buffers@2.2.0 ├─ stream-each@1.2.3 ├─ stream-http@2.8.3 ├─ string_decoder@1.3.0 ├─ string.prototype.trimend@1.0.1 ├─ string.prototype.trimstart@1.0.1 ├─ stringify-object@3.3.0 ├─ strip-comments@1.0.2 ├─ strip-eof@1.0.0 ├─ strip-json-comments@2.0.1 ├─ style-loader@1.2.1 ├─ stylehacks@4.0.3 ├─ subscriptions-transport-ws@0.9.8 ├─ sudo-prompt@9.1.1 ├─ supports-hyperlinks@2.1.0 ├─ svgo@1.3.2 ├─ symbol-observable@1.0.1 ├─ tar-fs@1.16.3 ├─ tar-stream@1.6.2 ├─ tar@6.0.5 ├─ targz@1.0.1 ├─ temp-dir@1.0.0 ├─ tempy@0.3.0 ├─ term-size@2.2.0 ├─ terminal-link@2.1.1 ├─ terser-webpack-plugin@1.4.5 ├─ terser@4.8.0 ├─ text-table@0.2.0 ├─ thenify-all@1.6.0 ├─ thenify@3.3.1 ├─ through2@2.0.5 ├─ thunky@1.1.0 ├─ timed-out@4.0.1 ├─ timers-browserify@2.0.11 ├─ timsort@0.3.0 ├─ to-arraybuffer@1.0.1 ├─ to-buffer@1.1.1 ├─ to-fast-properties@2.0.0 ├─ to-object-path@0.3.0 ├─ to-readable-stream@1.0.0 ├─ to-regex-range@2.1.1 ├─ topo@2.0.2 ├─ tough-cookie@2.5.0 ├─ tree-kill@1.2.2 ├─ ts-invariant@0.4.4 ├─ ts-pnp@1.2.0 ├─ tty-browserify@0.0.0 ├─ tunnel-agent@0.6.0 ├─ tweetnacl@0.14.5 ├─ type-fest@0.11.0 ├─ typedarray@0.0.6 ├─ ultron@1.1.1 ├─ unicode-canonical-property-names-ecmascript@1.0.4 ├─ unicode-match-property-ecmascript@1.0.4 ├─ unicode-match-property-value-ecmascript@1.2.0 ├─ unicode-property-aliases-ecmascript@1.1.0 ├─ union-value@1.0.1 ├─ unique-slug@2.0.2 ├─ unquote@1.1.1 ├─ unset-value@1.0.0 ├─ untildify@3.0.3 ├─ unzip-response@2.0.1 ├─ upath@1.2.0 ├─ update-check@1.5.3 ├─ upper-case-first@1.1.2 ├─ uri-js@4.2.2 ├─ urix@0.1.0 ├─ url-join@4.0.0 ├─ url-loader@4.1.0 ├─ url-parse-lax@3.0.0 ├─ use@3.1.1 ├─ utif@2.0.1 ├─ util-deprecate@1.0.2 ├─ util.promisify@1.0.0 ├─ util@0.11.1 ├─ validator@10.5.0 ├─ vendors@1.0.4 ├─ verror@1.10.0 ├─ vm-browserify@1.1.2 ├─ watchpack-chokidar2@2.0.0 ├─ watchpack@1.7.4 ├─ wbuf@1.7.3 ├─ wcwidth@1.0.1 ├─ webpack-deep-scope-plugin@1.6.0 ├─ webpack-dev-middleware@3.7.2 ├─ webpack-dev-server@3.11.0 ├─ webpack-manifest-plugin@2.2.0 ├─ webpackbar@4.0.0 ├─ which-module@2.0.0 ├─ wide-align@1.1.3 ├─ widest-line@3.1.0 ├─ with-open-file@0.1.7 ├─ wordwrap@1.0.0 ├─ workbox-broadcast-cache-update@3.6.3 ├─ workbox-build@3.6.3 ├─ workbox-cache-expiration@3.6.3 ├─ workbox-cacheable-response@3.6.3 ├─ workbox-google-analytics@3.6.3 ├─ workbox-navigation-preload@3.6.3 ├─ workbox-precaching@3.6.3 ├─ workbox-range-requests@3.6.3 ├─ workbox-streams@3.6.3 ├─ workbox-sw@3.6.3 ├─ workbox-webpack-plugin@3.6.3 ├─ worker-farm@1.7.0 ├─ worker-loader@2.0.0 ├─ worker-rpc@0.1.1 ├─ wrap-ansi@6.2.0 ├─ write-file-atomic@2.4.3 ├─ ws@3.3.3 ├─ xdg-basedir@3.0.0 ├─ xhr@2.5.0 ├─ xml-parse-from-string@1.0.1 ├─ xml2js@0.4.23 ├─ xmlbuilder@14.0.0 ├─ xmldom@0.1.31 ├─ yallist@3.1.1 ├─ yargs-parser@13.1.2 ├─ yargs@13.3.2 ├─ zen-observable-ts@0.8.21 └─ zen-observable@0.8.15 Done in 602.43s.

C:\WINDOWS\system32>

vision-rsl commented 4 years ago

ONLY FOR WINDOWS Open Run in run - "Appdata" in AppData\Roaming\npm delete expo files. then reinstall
it works

masoudnabavi commented 3 years ago

just need to run this command to fix your problem: Set-ExecutionPolicy -ExecutionPolicy Unrestricted

RRPx commented 3 years ago

I also went through the same problem. Solution that worked for me(simple): .According to expo doc, they said to have node LTS or greater, I reinstalled node to LTS (14.16.0, currently node.js website is showing this. .then you should run the command again likewise "npm install --global expo-cli" .it will show some deprecated messages, warnings. but it's okay.

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.

luishenriqs commented 2 years ago

I`m got this error. Someone can help me?

expo --version Uncaught Error EmptyJsonFileError: Cannot parse an empty JSON string