-
Notifications
You must be signed in to change notification settings - Fork 278
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
NPM run Dev issue #43
Comments
@MrDatastorage I've just managed to resolve this by downgrading nodejs to version 7.9. You can do this using nvm! |
Project is running at http://localhost:8080/ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function |
Project is running at http://localhost:8080/ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function npm ERR! A complete log of this run can be found in: |
npm run dev
Project is running at http://localhost:8080/
webpack output is served from /
Content not from webpack is served from /Users/eden/Projects/beta
404s will fallback to /index.html
fs.js:129
throw new ERR_INVALID_CALLBACK();
^
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
at maybeCallback (fs.js:129:9)
at Object.writeFile (fs.js:1137:14)
at VersionFile.writeFile (/Users/eden/Projects/beta/node_modules/webpack-version-file-plugin/index.js:54:8)
at /Users/eden/Projects/beta/node_modules/webpack-version-file-plugin/index.js:42:18
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev:
webpack-dev-server --config ./webpack/webpack-dev.config.js --watch --colors
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev 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! /Users/eden/.npm/_logs/2018-10-15T23_13_08_760Z-debug.log
The text was updated successfully, but these errors were encountered: