when I start nodemon on window 10,
I'm using nodemon v1.17.2, node v8.10.0,
module.js:549
throw err;
^
Error: cannot find module 'C:projectFilenodemon'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load(module.js:474:25)
at Function.Module._runMain (module.js:693:10)
at.bootstap_node.js:609:3
I already no everything ( reinstall,remove etc..)but It doesn't not work... Please Help!
Please provide details otherwise I can't help.
Hi i was facing the same issue can you please help me...
Again, without any details, no: I can't help.
I'll close this issue in 48 hours if no one gives me details on how to replicate. I can't guess fixes I'm afraid.
C:UsersVANEEDN1DesktopTest>node app.js
module.js:549
throw err;
^
Error: Cannot find module 'C:UsersVANEEDN1DesktopTestapp.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
I am also currently facing this problem. At first there seemed to be a problem with the npm. It didnt want to install. I reinstalled node.js a couple of times, but then realized the problem was the office connection. As soon as I turned my mobile hotspot on and connected my pc, it started downloading.
I thought this would have solved my problem, but I can still not run a simple HelloWorld.js file, it gives me the error above.
I am actually trying to run and test a bot in the ms botframework, but I cant seem to run the bot (app.js) file
@24984388vaneeden your issue has nothing to do with nodemon. I can't help.
Thank you anyway
On Tue, 20 Mar 2018, 3:24 PM Remy Sharp, notifications@github.com wrote:
@24984388vaneeden https://github.com/24984388vaneeden your issue has
nothing to do with nodemon. I can't help.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1295#issuecomment-374595712, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdRG-qcnb1wtThVg-qYmsvDtMW_4mlfiks5tgQL6gaJpZM4StSFu
.
@vinayodela May be the way to your folder is incorrect, faced with same problem, because had forgotten to change way in CMD.
@24984388vaneeden I have exactly the same problem did you find a solution please ...when in install th npm on my vps ubuntu 14 he show err that he don't found module Cannot find module './app/controllers/pays'
module.js:549
throw err;
^
Error: Cannot find module './app/controllers/pays'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
What should I do when getting following issue :
C:UsersSunilDocumentsAngularng5crud>node server
module.js:549
throw err;
^
Error: Cannot find module 'cookie-parser'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
@prosunil install the modules you're missing. That isn't a nodemon issue, it's a your-code issue.
Going to close due to lack of information. Sorry folks.
Hi @remy ,
I am having the below issue:
D:~~~~CodeSkeleton>node server
module.js:549
throw err;
^
Error: Cannot find module 'D:~~~~CodeSkeletonserver'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
you have some thing not correct in this root ..i have before the same err
i solve it with change app---->App
2018-04-18 9:01 GMT+02:00 Prasildas notifications@github.com:
Hi @remy https://github.com/remy ,
I am having the below issue:
D:~~~~CodeSkeleton>node server
module.js:549
throw err;
^Error: Cannot find module 'D:~~~~CodeSkeletonserver'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1295#issuecomment-382284002, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYMwG0IxzdgI53p3JueCZlGawVn22kxxks5tpuS2gaJpZM4StSFu
.
--
haifa
Did you saw in your package.json file if main route is pointing to your app.js file? I solved it calling it with the same name i has.
ng --version
module.js:549
throw err;
^
Error: Cannot find module 'C:~~~~AppDataRoamingnpmnode_modulesangular-clibinng'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
I removed /usr/local/bin/npm and then reinstalled node/npm to get rid of this problem. It appears that the brew version of npm was causing the issue.
i am getting this error.. when i start node server....please help me in this regarding how to solve this error..
PS C:UsersLenovoDesktopNew folder> npm start
npm ERR! missing script: start
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersLenovoAppDataRoamingnpm-cache_logs2018-06-21T03_55_19_999Z-debug.log
when i start node server iam getting this error...how to solve this error..please help me..
module.js:549
throw err;
^
Error: Cannot find module 'C:UsersLenovoDesktopNew folderserver'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
this will help. try this,
change the name of your main js file. go to the package.json file and change the name of "main" : "app.js",
(app.js is your java script file name in your project)
try yarrn. It solve my problem.

@DevHossen how did you solve the problem, I'm facing the same problem now.
module.js:549
throw err;
^
Error: Cannot find module 'C:UsersuserAppDataRoamingnpmnode_modulesionicbinionic'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
Not Yet
2018-08-09 16:29 GMT+02:00 zounars notifications@github.com:
@DevHossen https://github.com/DevHossen how did you solve the problem,
I'm facing the same problem now.module.js:549
throw err;
^Error: Cannot find module 'C:UsersuserAppDataRoamingnpmnode_modules
ionicbinionic'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1295#issuecomment-411777640, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVT8hK_2Urtpnz2qhi_qD-uaFGH2zAZJks5uPEdVgaJpZM4StSFu
.
I used npm -y to initialize with defaults and had forgot to change main: index.js default to my projects entry point of main: app.js inside package.json this little change resolved my issue.
Many thanks for you solution.
2018-08-09 23:12 GMT+02:00 Warren Leyes notifications@github.com:
I used npm -y to initialize with defaults and had forgot to change main:
index.js default to my projects entry point of main: app.js inside
package.json this little change resolved my issue.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/remy/nodemon/issues/1295#issuecomment-411898765, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVT8hEUCGwp4wZ79jdwC9vyi1W0Me-CMks5uPKW1gaJpZM4StSFu
.
i resolved below issue
module.js:549
throw err;
^
Error: Cannot find module 'ethereumjs-wallet/hdkey'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (C:UsersSaurabhinboxnode_modulestruffle-hdwallet-providerindex.js:2:13)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
===========================================================
npm uninstall ethereumjs-wallet
npm uninstall truffle-hdwallet-provider
npm install --save [email protected]
npm install --save [email protected]
Credit goes to 2 gentlemen on udemy QA Sarshad and Guang
C:Users////////////////////>firebase
module.js:549
throw err;
^
Error: Cannot find module 'didyoumean'
at Function.Module._resolveFilename (module.js:547
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.
firebase-toolsindex.js:7:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
how to fix this bug
i resolved below issue
module.js:549
fix:
install nodemon again !!! run on cmd
npm install -g nodemon
goto part and run nodemon
nodemon lab.js <<< name your file
ctrl+c for stop
and back to editor (vscode for my case) my terminal is ubuntu
nodemon lab.js
so it work. i don't know why but it work for me. i hope this work for you.
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
why this error has come is there any spam type or else cracking
In your package.json file make sure your "main": & "test:" has the same name.
"main": "app.js",
"scripts": {
"test": "app.js"
},
Most helpful comment
this will help. try this,
change the name of your main js file. go to the package.json file and change the name of "main" : "app.js",
(app.js is your java script file name in your project)