npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Windows 10 Node v11.13.0 npm v6.4.1 asyncWrite is not a function

I have installed (and reinstalled) Node a few times, always when I try to run npm install or other npm commands, I get the error message below:

npm ERR! asyncWrite is not a function
npm ERR! pna.nextTick is not a function

I have tried both LTS and Current versions of Node from the Node downloads, still has errors

Managed to solve it. Turns out the first installation was done incorrectly, and when I reinstalled the next few times, the original installation files weren’t removed completely. Deleting all instances of npm and node then reinstalling worked.