-
Notifications
You must be signed in to change notification settings - Fork 73
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
Getting error while executing 'npm start' #20
Comments
how to remove above mentioned error?? |
Hello did you follow lesson how to setup completed project ? It's explained there. Actually it's very simple you just need to create dev.js file in sever/config folder and setup some variables fro Database and other services, but follow video I mentioned please. |
Hello, |
Hello, |
Can i have the link where you explain environment variables? |
Following error is shown with 'npm start', front-end alone is running good with 'npm start-dev'. How to run the server?
`> y@1.0.0 start /media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server
internal/modules/cjs/loader.js:596
throw err;
^
Error: Cannot find module './dev'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
at Function.Module._load (internal/modules/cjs/loader.js:520:25)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server/config/index.js:4:20)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server/index.js:4:16)
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! y@1.0.0 start:
node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the y@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ashish/.npm/_logs/2018-08-22T20_21_16_932Z-debug.log
ashish@hp:/media/ashish/New Volume/Ashish/learn/bwn/bwm-ng-master/server$ npm i
npm WARN y@1.0.0 No description
npm WARN y@1.0.0 No repository field.
up to date in 4.308s
found 0 vulnerabilities
`
The text was updated successfully, but these errors were encountered: