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 #21

Open
k1sul1 opened this issue Dec 17, 2018 · 0 comments
Open

Node 10 #21

k1sul1 opened this issue Dec 17, 2018 · 0 comments

Comments

@k1sul1
Copy link
Contributor

k1sul1 commented Dec 17, 2018

I got a weird error running npm run watch using the latest LTS of Node, which is 10.

 DONE  Compiled successfully in 7880ms                                                                                                                                   7:56:42 PM


webpack: Compiled successfully.
internal/stream_base_commons.js:62
  var err = req.handle.writev(req, chunks, allBuffers);
                       ^

TypeError: req.handle.writev is not a function
    at writevGeneric (internal/stream_base_commons.js:62:24)
    at Socket._writeGeneric (net.js:711:5)
    at Socket._writev (net.js:720:8)
    at doWrite (_stream_writable.js:408:12)
    at clearBuffer (_stream_writable.js:517:5)
    at Socket.Writable.uncork (_stream_writable.js:314:7)
    at connectionCorkNT (_http_outgoing.js:641:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev:client: `webpack-dev-server --config ./build/webpack.client.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev:client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Worked fine until I refreshed the page. Googling the error presents results like these:
nodejs/node#21665

"Fixed" by running nvm use 8.

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

No branches or pull requests

1 participant