npm 错误!404 Not Found:小指承诺 [英] npm ERR! 404 Not Found: pinkie-promise

查看:25
本文介绍了npm 错误!404 Not Found:小指承诺的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试安装 Ionic Pro,但在推送实时部署时出现此错误.任何帮助将不胜感激

I'm trying to install Ionic Pro, and I am getting this error while pushing through live deploy.. Any help would be gladly appreciated

npm install --quiet --no-optional

npm WARN 可选跳过可选依赖:pinkie@2.0.4 (node_modules/pinkie):

npm WARN 404 跳过可选依赖:未找到:pinkie@https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz

npm 错误!代码E404

npm 错误!404 未找到:pinkie-promise@https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz

npm 错误!此运行的完整日志可在以下位置找到:

npm 错误!/home/gitlab-runner/.npm/_logs/2018-01-06T18_55_47_426Z-debug.log

npm install --quiet --no-optional 失败

在脚本之后运行...

$ 运行清理"

作业的运行阶段清理:5211838

错误:作业失败:退出状态 1

推荐答案

不到一年前,包leftpad"破坏了世界各地的 NPM 构建,因为作者从公共存储库中提取了它.

A little under a year ago, the package "leftpad" broke NPM builds all over the world because the author pulled it from the public repository.

对于pinkie-promise",今天也发生了同样的事情.作者的 NPM 帐户 (@floatdrop) 已被删除,这为他编写的所有软件包中的恶意软件打开了机会.

The same is happening today, for "pinkie-promise". The author's NPM account (@floatdrop) was deleted, opening opportunities for malware in all the packages he's written.

依赖的构建包括 Ionic 和(在我的例子中)node-sass.

Dependent builds include Ionic and (in my case) node-sass.

资源:

这篇关于npm 错误!404 Not Found:小指承诺的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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