Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails 404 Not Found because of dependency's broken colors package #1032

Closed
3 tasks done
erikrenberg opened this issue Jan 14, 2022 · 2 comments
Closed
3 tasks done

Comments

@erikrenberg
Copy link

  • I have searched for similar issues
  • I am using the latest version of npm-check-updates
  • I am using node >= 12

npm install currently doesn't work to install npm-check-updates:
npm ERR! 404 Not Found - GET https://registry.npmjs.org/colors/-/colors-1.4.2.tgz - Not found

The cause is that npm-check-updates has a dependency cli-table that currently tries to bring in a broken colors 1.4.2 package from NPM. This explains the issue: https://snyk.io/blog/open-source-npm-packages-colors-faker/

Here are the dependencies:

└─┬ npm-check-updates@12.1.0
  └─┬ cli-table@0.3.11
    └── colors@1.03

When/if cli-table is fixed that should fix this issue I guess.

For now I know I can remove npm-check-updates temporarily from the dev-dependencies to work around it.

@raineorshine
Copy link
Owner

raineorshine commented Jan 14, 2022

Thank you for documenting this! Hopefully cli-table merges the PR very soon some day. I will continue watching closely.

@raineorshine
Copy link
Owner

raineorshine commented Mar 19, 2023

Looks like cli-table has been abandoned. I've switched to cli-table3 which does not depend on colors.

Published to v16.7.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants