npm ERR! 404 Not Found: pinkie-promise

前端 未结 3 1910
孤街浪徒
孤街浪徒 2020-12-06 14:08

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

相关标签:
3条回答
  • 2020-12-06 14:16

    I was able to work around this by installing pinkie-promise by pointing to their github repo.

    npm install https://github.com/floatdrop/pinkie-promise.git

    0 讨论(0)
  • 2020-12-06 14:17

    Solution to make project build work again

    Since this dependency is not available on npm registry, one will have to do the following to make it work.

    Follow these steps to make things work again.

    1. rm -rf node_modules/
    2. rm -rf package-lock.json
    3. npm i https://github.com/floatdrop/pinkie-promise.git

    In the end you will see the output

    + pinkie-promise@2.0.1

    0 讨论(0)
  • 2020-12-06 14:35

    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:

    • NPM issue: https://github.com/npm/registry/issues/255
    • Incident report: https://status.npmjs.org/incidents/41zfb8qpvrdj
    • pinkie-promise issue: https://github.com/floatdrop/pinkie-promise/issues/4
    • Dependent packages: https://www.npmjs.com/browse/depended/pinkie-promise
    • All of @floatdrop's repositories: https://github.com/floatdrop?tab=repositories
    0 讨论(0)
提交回复
热议问题