错误的ERR!意外的输入结束于1:379680 [英] npm ERR! Unexpected end of input at 1:379680

查看:224
本文介绍了错误的ERR!意外的输入结束于1:379680的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了最新版本的nodejs,即v8.1.3,我正在使用Windows 10

I recently installed the latest version of nodejs i.e v8.1.3 and I am using windows 10

之后,我想安装cordova和离子包,所以我运行命令

After that, i wanted to install the cordova and ionic packages so I ran the command

npm install -g ionic cordova

运行此命令后,我收到以下错误!我很厌倦因为谷歌搜索还没有这个错误。

after running this command I am getting the below error! I am fed up as this error isn't available in Google search also yet.

这是我在cmd控制台上获得的错误日志

npm ERR! Unexpected end of input at 1:379680
npm ERR! .1","osenv":"~0.1.3","path-is inside":"~1.0.1","read":"~1.0.7","read-
npm ERR!                                                                      ^                                                           
npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\SYS73M CR4CK3R\AppData\Roaming\npm-cache\_logs\2017-07-10T13_45_29_711Z-debug.log

请帮助_ / _

推荐答案

为我解决的问题是正在运行

What solved it for me was running

npm cache clean --force

这篇关于错误的ERR!意外的输入结束于1:379680的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆