Skip to content

NPM run Dev issue #43

@ghost

Description

npm run dev

nekomy@0.1.10 dev /Users/eden/Projects/beta
webpack-dev-server --config ./webpack/webpack-dev.config.js --watch --colors

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! nekomy@0.1.10 dev: webpack-dev-server --config ./webpack/webpack-dev.config.js --watch --colors
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nekomy@0.1.10 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions