node.js - 安装请求模块时出现错误

标签 node.js

npm ERR! Unexpected end of input at 1:155018

npm ERR! .9.7","require-globify":"^1.3.0","typescript":"^2.0.3","uglify-js":"^ npm ERR! ^

npm ERR! A complete log of this run can be found in: C:\Users\Ravi\AppData\Roaming\npm-cache_logs\2017-12-24T06_55_20_3 51Z-debug.log

错误:

enter image description here

最佳答案

尝试使用此命令,就我而言,这解决了问题:

npm cache clean --force

关于node.js - 安装请求模块时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47958754/

相关文章:

javascript - Webdriver.io - Node.js 意外的 token 导入 - 页面对象

node.js - 使用 Node.js 设置 nginx

node.js - 使用 Electron 选择桌面屏幕的区域

node.js - 应用程序为同一用户创建两个 session - Express js

node.js - 仅当用户手动安装我的 npm 包时,是否有好方法运行脚本?(不是通过依赖项安装)

node.js - Kubernetes AWS Fargate (EKS) 持续终止 pod 托管 React 服务

node.js - 找不到模块 './lib/should'

node.js - 如何在 Heroku 上配置 Nodejs 的超时

node.js - Git 撤消属于 .gitignore 的文件夹中的更改

mysql - sql插入查询和post方法