A
A
Alexander Kovalenko2021-04-29 11:48:00
JavaScript
Alexander Kovalenko, 2021-04-29 11:48:00

Doesn't install expo, throws an error?

C:\Users\Aleksander>npm install --global expo-cli
npm WARN deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated [email protected]: [email protected]<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 [email protected]
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated
[email protected]: https://github.com/lydell/resolve-url#deprecated
0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: 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 [email protected]: 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 [email protected]: 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 optional SKIPPING OPTIONAL DEPENDENCY: [email protected]~2.3.1 (node_modules\expo-cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os" :"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch": "x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.2.7 (node_modules\expo-cli\node_modules\webpack-dev-server\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN @ pmmmwh/[email protected] requires a peer of [email protected]^0.8.2 but none is installed. You must install peer dependencies yourself.

npm ERR! code EEXIST
npm ERR! path C:\Users\Aleksander\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js
npm ERR! dest C:\Users\Aleksander\AppData\Roaming\npm\expo
npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\Aleksander\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js' -> 'C:\Users\Aleksander\AppData\Roaming\npm\ expo'
npm ERR! File exists: C:\Users\Aleksander\AppData\Roaming\npm\expo
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Aleksander\AppData\Roaming\npm-cache\_logs\2021-04-29T08_44_56_672Z-debug.log

This is the error I get when installing EXPO

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
low molecular macro, 2021-04-29
@molekulyarniy

npm ERR! EEXIST: file already exists, cmd shim 'C:\Users\Aleksander\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js' -> 'C:\Users\Aleksander\AppData\Roaming\npm\ expo'
npm ERR! File exists: C:\Users\Aleksander\AppData\Roaming\npm\expo
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question