3

My application in windows machine does run only the node version of v6.11.0 and NPM is 3.11.11.

Now, my node version and NPM have been upgraded. I am not able to download the node version and NPM version. Current version of node is v10.14.1 and npm is 5.5.1

When I tried to downgrade, I am facing the below error.

npm install -g [email protected]
npm install -g [email protected]

Below error

npm WARN npm npm does not support Node.js v10.14.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.
Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar
(> 4.0.1) that is compatible with Node.js 9 and above.
npm[9256]: src\node_zlib.cc:441: Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResu
lt, writeCallback," " dictionary)"' failed.
 1: 00007FF63013ECF5
 2: 00007FF6301181A6
 3: 00007FF630118271
 4: 00007FF6300740B6
 5: 00007FF630943BA2
 6: 00007FF63094503D
 7: 00007FF630944099
 8: 00007FF630943F7B
 9: 000002EA035DC5C1

Any idea that how to resolve the error which I faced.

3
  • 1
    Why not just uninstall and reinstall older version? Commented Dec 4, 2018 at 14:12
  • Yeah, you can download v6.11.0 from here Commented Dec 4, 2018 at 14:16
  • Yes, I dont have access to uinstall and install gain, So, that if any option other then uninstall, it would be great. Anyway thanks for your comment. Now, i got the permission to do this, I can. Commented Dec 4, 2018 at 14:43

3 Answers 3

1

I uninstalled the current node and installed nvm https://github.com/coreybutler/nvm-windows

Sign up to request clarification or add additional context in comments.

Comments

1

I installed the Node v10.14.1 and encountered the same error while installing a package.

I tried to uninstall and reinstall; but did not solve the problem. The installation of Node.js did not update/upgrade the "npm" version.

Then I followed below steps to fix the problem.

  1. Go to "C:\Users\\AppData\Roaming" and delete the "npm" folder.
  2. Repair the Node.js installation (you could also reinstall it)

I hope this will help to resolve the issue.

Comments

1

npm i -g npm@add version which you need to rollback.

eg: npm i -g [email protected]

Then check your version:

npm -v

i - install g - globally

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.