Skip to content
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

node 10.5.0 で npm run dev がエラーになる #561

Open
volpe28v opened this issue Aug 2, 2018 · 0 comments
Open

node 10.5.0 で npm run dev がエラーになる #561

volpe28v opened this issue Aug 2, 2018 · 0 comments

Comments

@volpe28v
Copy link
Owner

volpe28v commented Aug 2, 2018

4.4.0 では問題なし。

エラーのログ

▶npm run dev

> [email protected] dev /Users/kodama/programming/node/DevHub
> parallelshell "webpack --progress --colors --watch" "grunt" "node-dev app.js -t Development"

child_process.js:420
    throw new ERR_INVALID_ARG_TYPE('options.cwd', 'string', options.cwd);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "options.cwd" property must be of type string. Received type function
    at normalizeSpawnArguments (child_process.js:420:11)
    at spawn (child_process.js:522:38)
    at /Users/kodama/programming/node/DevHub/node_modules/parallelshell/index.js:104:17
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/Users/kodama/programming/node/DevHub/node_modules/parallelshell/index.js:100:6)
    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)

この辺が参考になりそう
darkguy2008/parallelshell#67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant