$ expo diagnostics internal/modules/cjs/loader.js:895 throw err;

hi there!!! I want to install Expo I have run the next command:

$ npm install expo-cli --global

and I get the error like this:

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

then i tried:

$ expo diagnostics

and get this:

internal/modules/cjs/loader.js:895
throw err;
^

Error: Cannot find module ‘C:\Users\Arsen\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:892:15)
at Function.Module._load (internal/modules/cjs/loader.js:785:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1143:12)
at internal/main/run_main_module.js:16:11 {
code: ‘MODULE_NOT_FOUND’,
requireStack:

Please, can someone help me with this issue?

Hi

This post might help you:

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