Article From:

My system is the 64 edition of win10 professional edition. The installation of cnpm under the administrator mode CMD has the following error:

npm ERR! Unexpected end of input at 1:2568
npm ERR! a5dedeaa","size":34335,"noattachment":false,"tarball":"http://registr
npm ERR!                                                                      ^

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Cooper\AppData\Roaming\npm-cache\_logs\2017-08-29T04_00_02_751Z-debug.log

Answer 0:

First, enter the following command and return the car

npm set registry # Registration module mirroringNPM set disturl node-gyp compilation relies on node source image.NPM cache clean --forcE cache empty cache

Then again

npm install -g cnpm --registry=

That’s all right.

Leave a Reply

Your email address will not be published. Required fields are marked *