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.

Error on Node version 7.1.0

See original GitHub issue

CLI wont work anymore due to updating node to version 7.1.0

  • machine: Windows 10
  • node: 7.1.0 x64
C:\feathers-chat>feathers generate middleware
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: This socket is closed
    at WriteStream.Socket._writeGeneric (net.js:683:19)
    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 Console.log (console.js:43:16)
    at UI.prompt (C:\Users\Shahab\AppData\Roaming\npm\node_modules\feathers-cli\node_modules\vorpal\dist\ui.js:233:17)
    at Vorpal.vorpal._prompt (C:\Users\Shahab\AppData\Roaming\npm\node_modules\feathers-cli\node_modules\vorpal\dist\vorpal.js:612:15)
    at UI.attach (C:\Users\Shahab\AppData\Roaming\npm\node_modules\feathers-cli\node_modules\vorpal\dist\ui.js:400:19)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
colbin8rcommented, Nov 14, 2016

+1, had the same problem. Downgraded to Node v6.9.1 and it worked like a charm (with Feathers 1.2.7) on Windows 10.

0reactions
marshallswaincommented, Dec 20, 2016

@shahabio It looks like the solution is to update to Node 7.2.1. Please reopen this issue if you find that there’s still a problem.

Thanks for reporting, @beeplin and @ForsakenHarmony.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EINVAL errors (events.js:160) with Node 7.1.0 on Windows 10
Error running yo with Node. js 7.1 on windows 10 (Error: write EINVAL) yeoman/yo#485. CLI doesn't work with Node v7. 1.0 yeoman/yo#486.
Read more >
can't npm install the project - node.js - Stack Overflow
The error you are getting mentions that Python cannot be found. The steps in the above linked answer describes how you can resolve...
Read more >
node-sass - npm
Node -sass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. It allows...
Read more >
AppOptics | Node.js Agent Release Notes
Release Notes for the Node.js agent releases. ... No error logging for failing to report error on an aborted connection. ... 7.1.0 -...
Read more >
Firebase JavaScript SDK Release Notes - Google
Fixed a bug that caused Firebase SDKs to throw an error in Firefox ... These typings caused errors in some projects using both...
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 Reddit Thread

No results found

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