question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

crashed with nodejs 7.1.0 on windows10

See original GitHub issue

My vue-cli version is 2.5.1, and nodejs version is 7.1.0. When I try to run vue init webpack throw errors below

D:\Project\lu>node -v
v7.1.0

D:\Project\lu>vue --version
2.5.1

D:\Project\lu>vue init webpack

D:\App\Node\node_modules\vue-cli\node_modules\rx-lite\rx.lite.js:75
    throw e;
    ^

Error: write EINVAL
    at exports._errnoException (util.js:1022:11)
    at WriteStream.Socket._writeGeneric (net.js:715:26)
    at WriteStream.Socket._write (net.js:734:8)
    at doWrite (_stream_writable.js:334:12)
    at writeOrBuffer (_stream_writable.js:320:5)
    at WriteStream.Writable.write (_stream_writable.js:247:11)
    at WriteStream.Socket.write (net.js:661:40)
    at MuteStream.ondata (stream.js:31:26)
    at emitOne (events.js:96:13)
    at MuteStream.emit (events.js:188:7)
    at MuteStream.write (D:\App\Node\node_modules\vue-cli\node_modules\mute-stream\mute.js:116:8)
    at Object.exports.clearLine (D:\App\Node\node_modules\vue-cli\node_modules\inquirer\lib\utils\readline.js:50:13)
    at module.exports.ScreenManager.clean (D:\App\Node\node_modules\vue-cli\node_modules\inquirer\lib\utils\screen-manager.js:92:8)
    at module.exports.ScreenManager.render (D:\App\Node\node_modules\vue-cli\node_modules\inquirer\lib\utils\screen-manager.js:26:8)
    at Prompt.render (D:\App\Node\node_modules\vue-cli\node_modules\inquirer\lib\prompts\confirm.js:85:15)
    at Prompt._run (D:\App\Node\node_modules\vue-cli\node_modules\inquirer\lib\prompts\confirm.js:65:8)

When I changed my nodejs version to v6.9.1, it works well.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
posvacommented, Dec 30, 2016

Closing since this seems to be solved. Can you confirm, please, @luxp @aronpc

0reactions
readone7commented, Jun 15, 2017

Error: EINVAL: invalid argument, uv_interface_addresses at Object.lib.networkInterfaces (/mnt/c/Sites/JS_projects/second-vue/node_modules/macaddress/index.js:31:21) at Object.lib.one (/mnt/c/Sites/JS_projects/second-vue/node_modules/macaddress/index.js:79:26) at Object.<anonymous> (/mnt/c/Sites/JS_projects/second-vue/node_modules/uniqid/index.js:15:77) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/mnt/c/Sites/JS_projects/second-vue/node_modules/postcss-filter-plugins/dist/index.js:9:15) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/mnt/c/Sites/JS_projects/second-vue/node_modules/cssnano/dist/index.js:21:30) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32)

npm ERR! Linux 3.4.0+ npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “build” npm ERR! node v7.10.0 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! second-vue@1.0.0 build: node build/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the second-vue@1.0.0 build script ‘node build/build.js’. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the second-vue package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node build/build.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs second-vue npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls second-vue npm ERR! There is likely additional logging output above. npm ERR! Linux 3.4.0+ npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “build” npm ERR! node v7.10.0 npm ERR! npm v4.2.0 npm ERR! path /home/codesmear/.npm/_logs/2017-06-15T15_25_54_803Z-debug.log.2321715871 npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall open

npm ERR! Error: EACCES: permission denied, open ‘/home/codesmear/.npm/_logs/2017-06-15T15_25_54_803Z-debug.log.2321715871’ npm ERR! { Error: EACCES: permission denied, open ‘/home/codesmear/.npm/_logs/2017-06-15T15_25_54_803Z-debug.log.2321715871’ npm ERR! errno: -13, npm ERR! code: ‘EACCES’, npm ERR! syscall: ‘open’,

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm WARN npm npm does not support Node.js v9.1.0
It turns out that the current installed npm is not compatible with the new node and has a hard time updating. The solution...
Read more >
Node v17.7.1 (Current)
This release fixes an issue introduced in Node.js v17.7.0 with some URLs that contain @ . This issue affected yarn 1.
Read more >
Node.js fixes severe HTTP bug that could let attackers crash ...
Node.js has released updates for a high severity vulnerability that could be exploited by attackers to crash the process and cause ...
Read more >
Installing - Cypress Documentation
What you'll learn How to install Cypress via npm How to install Cypress via direct ... Exiting early during cypress run or abruptly...
Read more >
Game crashes without errors - FINAL FANTASY XIV Forum
To perform a clean boot for Windows 10: Open the task manager (CTRL+SHIFT+ESC) and select the 'Start up' Tab. Disable everything here and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found