can't install expo

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! libxmljs@0.19.7 install: `node-pre-gyp install --fallback-to-build --loglevel http`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libxmljs@0.19.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\antho\AppData\Roaming\npm-cache\_logs\2019-11-19T12_00_15_255Z-debug.log

windows 10

node.js 12.13.1

python 3.8

Hello, I’m trying to download expo then I typed “npm install -g expo-cli”

At the end I always get the answer above.

I uninstalled node.js and got it back, updated python.

Used PowerShell as an administrator instead of cmd
Tried with and without my antivirus on during the process

Tried “npm install --global --production windows-build-tools” after getting python updated

I’ve checked every single post related to this problem and nothing worked for me.

1 Like

Hi

It seems that Windows users are having trouble installing/upgrading expo-cli at the moment. Please see this post:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.