You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error running yo with Node.js 7.1 on windows 10 (Error: write EINVAL) #485
After updating Node to latest version ( 7.1.0 ) on my windows 10 box, I globally installed yeoman. After that, I get an error running the yo command:
Error message states:
D:\_code\test>yo
C:\Users\Jochen\AppData\Roaming\npm\node_modules\yo\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)
D:\_code\test>npm -v
3.10.9
D:\_code\test>node -v
v7.1.0
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)
Reacted by Michael Sanford, Mark Pieszak and Ray Clanan
Curiously enough I have no problems with Windows 10 and Node 7.1.0 running in a VM:
So it would be awesome if @longjoel@jochenvanwylick or @Lichtjaeger could deep a little deeper to check if its only rx-lite which make problems. If so you could file a bug in the RxJS Repo.
changed the title [-]Error running yo in yo\node_modules\rx-lite\rx.lite.js:75[/-][+]Error running yo with Node.js 7.1 on windows 10 (Error: write EINVAL)[/+]on Nov 22, 2016
Hi @HelloPb, just had this thread called to my attention. We fixed this issue a few days after your post, so if you haven't already, updating to the latest version of generator-fwsp-hydra will fix it.
Activity
mischah commentedon Nov 9, 2016
Mhmm. No Problems with Node 7.1.0 on Mac OS.
longjoel commentedon Nov 10, 2016
I'm having the same problems.
SBoudrias commentedon Nov 10, 2016
Got similar report on SBoudrias/Inquirer.js#447
Looks like Windows and Node 7 don't play well with one of our dependency.
mischah commentedon Nov 10, 2016
Curiously enough I have no problems with Windows 10 and Node 7.1.0 running in a VM:
So it would be awesome if @longjoel @jochenvanwylick or @Lichtjaeger could deep a little deeper to check if its only rx-lite which make problems. If so you could file a bug in the RxJS Repo.
Lichtjaeger commentedon Nov 10, 2016
Sorry, but that is not the same Windows Version I run. I have the latest Windows (10.0.14393 Build 14393 | Anniversary 2016).
These are my error states:
If I run


yoin my cmd (or PowerShell too) it displays only black:After resize I get these error:
If I run

yo <generator_name>a get the following error:mischah commentedon Nov 10, 2016
Interestingly other users have similar errors with the combination of Windows 10 and Node 7.1.0 in with different packages:
I filed an issue in the Node.js repo: nodejs/node#9542
mischah commentedon Nov 10, 2016
Regarding nodejs/node#9542 it looks like errors are caused by a Node.js regression.
Current workaround: Get back to Node
7.0.0or better use the current LTS version6.9.xdiegocapadi commentedon Nov 19, 2016
mischah, you are right!
[-]Error running yo in yo\node_modules\rx-lite\rx.lite.js:75[/-][+]Error running yo with Node.js 7.1 on windows 10 (Error: write EINVAL)[/+]mischah commentedon Nov 23, 2016
Closing this since Node 7.2 fixes this issue:
https://nodejs.org/en/blog/release/v7.2.0/
jochenvw commentedon Nov 23, 2016
Yep - confirmed - thanks!
HelloPb commentedon Dec 2, 2016
I am getting error on windows 10, with node 7.2 latest

Lichtjaeger commentedon Dec 2, 2016
@HelloPb I've made the experience that npm renames a file named ".gitignore" to ".npmignore".
You can confirm this by looking in the "C:\Users\Prasanna\AppData\Roaming\npm\node_modules\generator-fwsp-hydra\app\templates" directory.
It's a problem with the "generator-fwsp-hydra" module. Not with yo.
emadum commentedon Jan 5, 2017
Hi @HelloPb, just had this thread called to my attention. We fixed this issue a few days after your post, so if you haven't already, updating to the latest version of generator-fwsp-hydra will fix it.
Thanks!
arigates commentedon Sep 21, 2017
i have downgrade version, and now work perfectly