-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Cannot find module 'C:\node_modules\npm\bin\npm-cli.js' #235
Comments
@MAHOSSAN, I followed the instruction in the
Looking at your error, I found this thread nodejs/help#1618 that might be able to help you. At the end of the discussion, someone says:
So you might want to give it a try. |
for me its not working |
are you using |
i will some error i am trying to solve but note solve this error please help us... npm ERR! A complete log of this run can be found in: C:\Users\SARKAR>expo init App Error: Cannot find module 'C:\Users\SARKAR\AppData\Roaming\npm\node_modules\expo-cli\bin\expo.js' |
It's been 4 months since the last comment. There have been quite a lot of changes in this repo.
I'd like to close this issue. Please open a new issue if you still are running into problems. Thanks. |
internal/modules/cjs/loader.js:969 Error: Cannot find module 'C:\Users\ANURAG\AppData\Roaming\npm\node_modules@angular\cli\bin\ng' |
I cannot find any issue with cloning this project and running Please create a new issue and give step by step instruction on how to replicate your problem. |
Hi tried everything but i still giving the same error and the strange part is i have able to launch appium from administrator without any issue but when i try to run from another user which has admin rights giving me an error each time .this is so frustrating ERROR cannot find module main.js at Function.Module._load (internal/modules/cjs/loader.js:841:27) |
Hi @richawasp, I'm not sure how your post relates to this repo. The error here is generic, perhaps you should look for assistance in a Nodejs or 'appium' forum? |
I got same error, update the node js and angular cli, then this issue is resolved for me. |
Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\node_modules\npm\bin\npm-cli.js' |
Error: Cannot find module 'C:\Project\app.js' Error: Cannot find module 'C:\Project\app.js' |
I download this project and tried to run it but i am getting following errors ..
C:\Users\Khundokar Nirjor\Desktop\loop4\loopback4-example-shopping> npm start
internal/modules/cjs/loader.js:628
throw err;
^
Error: Cannot find module 'C:\node_modules\npm\bin\npm-cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
at Function.Module._load (internal/modules/cjs/loader.js:527:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:839:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:
lerna run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build 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\Khundokar Nirjor\AppData\Roaming\npm-cache_logs\2019-08-10T02_05_39_890Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prestart:
npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prestart 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\Khundokar Nirjor\AppData\Roaming\npm-cache_logs\2019-08-10T02_05_40_026Z-debug.log
The text was updated successfully, but these errors were encountered: