letters-social icon indicating copy to clipboard operation
letters-social copied to clipboard

[nodemon] app crashed - waiting for file changes before starting

Open ghost opened this issue 5 years ago • 15 comments

After comand npm run dev i have error [nodemon] app crashed - waiting for file changes before starting http://prntscr.com/lk68wd http://prntscr.com/lk69dt How me fix it all and run our education project? D:\letters-social-chapter-4>npm run dev

[email protected] dev D:\letters-social-chapter-4 cross-env NODE_ENV=development npm-run-all -p api client:dev server:dev styles:w

[email protected] client:dev D:\letters-social-chapter-4 webpack-dev-server --config ./build/webpack.config.js

[email protected] api D:\letters-social-chapter-4 nodemon -x node -r @std/esm ./db/run.js

[email protected] server:dev D:\letters-social-chapter-4 nodemon --config nodemon.json index.js

[email protected] styles:w D:\letters-social-chapter-4 npm run styles && node-sass src/styles/styles.scss -o static/ -w src/styles --watch --recursive

[nodemon] 1.18.3 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting node -r @std/esm ./db/run.js [nodemon] 1.18.3 [nodemon] to restart at any time, enter rs [nodemon] watching: . [nodemon] starting node index.js

[email protected] styles D:\letters-social-chapter-4 node-sass -q src/styles/styles.scss -o static/

npm[6516]: src\node_file.cc:943: Assertion (argc) == (4)' failed. 1: 00007FF762F9ECE5 2: 00007FF762F78196 3: 00007FF762F78261 4: 00007FF762F3950E 5: 00007FF7637A2E52 6: 00007FF7637A42ED 7: 00007FF7637A3349 8: 00007FF7637A322B 9: 0000029E6635C5C1 [nodemon] app crashed - waiting for file changes before starting... ==> 🌎 Newsfeed is running on port 3100 ✅ Project is running at http://localhost:3000/ webpack output is served from http://localhost:3000/ 404s will fallback to /index.html Hash: 9a20445fae101ee2909d Version: webpack 3.12.0 Time: 13412ms Asset Size Chunks Chunk Names static/assets/fonts/fontawesome-webfont.eot 166 kB [emitted] static/assets/fonts/fontawesome-webfont.svg 444 kB [emitted] [big] static/assets/fonts/fontawesome-webfont.ttf 166 kB [emitted] static/assets/fonts/fontawesome-webfont.woff2 77.2 kB [emitted] static/assets/fonts/fontawesome-webfont.woff 98 kB [emitted] bundle.js 1.53 MB 0 [emitted] [big] main bundle.js.map 1.83 MB 0 [emitted] main index.html 4.1 kB [emitted] [./node_modules/url/url.js] ./node_modules/url/url.js 23.3 kB {0} [built] [./node_modules/webpack-dev-server/client/index.js?http://localhost:3000] (webpack)-dev-server/client?http://localhost:3000 7.93 kB {0} [built] [./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.67 kB {0} [built] [./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.08 kB {0} [built] [./node_modules/webpack/hot ^\.\/log$] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {0} [built] [./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.61 kB {0} [built] [./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {0} [built] [./node_modules/webpack/hot/log-apply-result.js] (webpack)/hot/log-apply-result.js 1.31 kB {0} [built] [./node_modules/webpack/hot/log.js] (webpack)/hot/log.js 1.04 kB {0} [built] [0] multi (webpack)-dev-server/client?http://localhost:3000 webpack/hot/dev-server ./src/index 52 bytes {0} [built] [./src/app.js] ./src/app.js 10.8 kB {0} [built] [./src/index.js] ./src/index.js 782 bytes {0} [built] [./src/shared/crash.js] ./src/shared/crash.js 157 bytes {0} [built] [./src/shared/vendor.js] ./src/shared/vendor.js 121 bytes {0} [built] [./src/styles/styles.scss] ./src/styles/styles.scss 1.22 kB {0} [built] + 197 hidden modules Child html-webpack-plugin for "index.html": 1 asset [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.ejs 5.03 kB {0} [built] [./node_modules/lodash/lodash.js] ./node_modules/lodash/lodash.js 540 kB {0} [built] [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {0} [built] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 517 bytes {0} [built] webpack: Compiled successfully. [nodemon] restarting due to changes... [nodemon] starting node -r @std/esm ./db/run.js[nodemon] restarting due to changes... [nodemon] startingnode index.jsnode-sass[5712]: src\node_file.cc:943: Assertion(argc) == (4)' failed. 1: 00007FF762F9ECE5 2: 00007FF762F78196 3: 00007FF762F78261 4: 00007FF762F3950E 5: 00007FF7637A2E52 6: 00007FF7637A42ED 7: 00007FF7637A3349 8: 00007FF7637A322B 9: 000003CAECA5C5C1 [nodemon] app crashed - waiting for file changes before starting... ==> 🌎 Newsfeed is running on port 3100 ✅ [nodemon] restarting due to changes... [nodemon] starting node -r @std/esm ./db/run.js [nodemon] restarting due to changes... [nodemon] starting node index.js node-sass[6540]: src\node_file.cc:943: Assertion (argc) == (4)' failed. 1: 00007FF762F9ECE5 2: 00007FF762F78196 3: 00007FF762F78261 4: 00007FF762F3950E 5: 00007FF7637A2E52 6: 00007FF7637A42ED 7: 00007FF7637A3349 8: 00007FF7637A322B 9: 00000169FBF5C5C1 [nodemon] app crashed - waiting for file changes before starting... ==> 🌎 Newsfeed is running on port 3100 ✅ [nodemon] restarting due to changes... [nodemon] restarting due to changes... [nodemon] starting node -r @std/esm ./db/run.js[nodemon] startingnode index.jsnode-sass[6036]: src\node_file.cc:943: Assertion(argc) == (4)' failed. 1: 00007FF762F9ECE5 2: 00007FF762F78196 3: 00007FF762F78261 4: 00007FF762F3950E 5: 00007FF7637A2E52 6: 00007FF7637A42ED 7: 00007FF7637A3349 8: 00007FF7637A322B 9: 000001A462E5C5C1 [nodemon] app crashed - waiting for file changes before starting... ==> 🌎 Newsfeed is running on port 3100 ✅

ghost avatar Nov 19 '18 10:11 ghost

Help please! I am trying to fix a 4 days(((

ghost avatar Nov 19 '18 10:11 ghost

@Token19 we recently had some big personal events (good ones, but big) in our life, so I'm not able to spend a ton of time addressing issues here. But it looks like a webpack issue - what versions of node, npm, etc. are you using and what OS? mac or windows? thanks!

markthethomas avatar Nov 20 '18 01:11 markthethomas

I also have a good event - served in the army, and returned to home) I steal only a little bit of your time with your permission, just give a hint please) Windows 10 Home, i try version node 11,10, 8.5, 9.2 version npm - dont look, but for the moment I have node 9.2, npm 5.5 and i managed to configure this project without errors - https://www.youtube.com/watch?v=v0t42xBIYIs if we do not find the cause of the errors, then I think to read your book and try to create something similar to your project in this startup package. P.S Sorry for my English

ghost avatar Nov 20 '18 08:11 ghost

Is there any unfinished render in your file?

quiltLicker avatar Dec 02 '18 22:12 quiltLicker

I have the same issue. macOS 10.13.6 High Sierra Node version - 11.3.0

ghost avatar Jan 09 '19 07:01 ghost

run downgrade node version 8.11

Rootjang92 avatar Feb 13 '19 06:02 Rootjang92

Thanks Rootjang92! Solved all of my issues.

butcherpete avatar Feb 15 '19 23:02 butcherpete

run downgrade node version 8.11

Can you tell me how to do this? Thank you in advance!

nikitakolesnikov13 avatar Jul 15 '19 22:07 nikitakolesnikov13

Thanks Rootjang92! Solved all of my issues.

Can you give a guide, by your decision?

nikitakolesnikov13 avatar Jul 15 '19 22:07 nikitakolesnikov13

run downgrade node version 8.11

Can you tell me how to do this? Thank you in advance!

your package.json file -> nodemon: v8.x.x enter and npm install you got it!

Rootjang92 avatar Jul 16 '19 00:07 Rootjang92

run downgrade node version 8.11

Can you tell me how to do this? Thank you in advance!

your package.json file -> nodemon: v8.x.x enter and npm install you got it!

Oh, thanks!

nikitakolesnikov13 avatar Jul 16 '19 00:07 nikitakolesnikov13

Greetings. "nodemon": states "1.18.11", Please explain what you mean by "your package.json file -> nodemon: v8.x.x enter" above from July 15, 2019. I thank you for your assistance. Greg

integromedia avatar Mar 04 '20 16:03 integromedia

Greetings. "nodemon": states "1.18.11", Please explain what you mean by "your package.json file -> nodemon: v8.x.x enter" above from July 15, 2019. I thank you for your assistance. Greg

When you install nodemon, version downgrade and install

geunhojang avatar Mar 05 '20 00:03 geunhojang

Greetings. "nodemon": states "1.18.11", Please explain what you mean by "your package.json file -> nodemon: v8.x.x enter" above from July 15, 2019. I thank you for your assistance. Greg

Rootjang92 is me

geunhojang avatar Mar 05 '20 00:03 geunhojang

I thank you for your reply geunhojang. So when you state above "When you install nodemon, version downgrade and install", do you mean I need to install nodemon? "nodemon: v8.x.x" is mentioned though "run downgrade node version 8.11" suggests to downgrade node version to "v8.x.x". Since nodemon = "1.18.11", do I downgrade 1.18.11?

integromedia avatar Mar 06 '20 18:03 integromedia