Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

ionic2 - npm ERR! 404 Not Found: pinkie-promise

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 optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/pinkie):

npm WARN 404 SKIPPING OPTIONAL DEPENDENCY: Not Found: pinkie@https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz

npm ERR! code E404

npm ERR! 404 Not Found: pinkie-promise@https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz

npm ERR! A complete log of this run can be found in:

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

npm install --quiet --no-optional failed

Running after script...

$ run "clean-up"

Running Stage clean-up for Job: 5211838

ERROR: Job failed: exit status 1

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

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.

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

Resources:


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...