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

[BUG] npm i fails during audit #46

Closed
1 task done
hiuxmaycry opened this issue Aug 1, 2022 · 0 comments
Closed
1 task done

[BUG] npm i fails during audit #46

hiuxmaycry opened this issue Aug 1, 2022 · 0 comments
Labels
Needs Triage needs an initial review

Comments

@hiuxmaycry
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When there is a registry with no published versions like the following: https://registry.npmjs.org/exchange-ui, it causes the audit process to fail with a "Cannot convert undefined or null to object" Error.

There is another problem, my repository is marked as "private": true in the package.json, so I don't understand why it is being checked against the global registry? Shouldn't it be unchecked since it's not a repository I want to publish?

Expected Behavior

The install should be able to be done without problems.

Steps To Reproduce

  1. In this environment... Having a repository created with exchange-ui as a package name
  2. With this config... no specific configuration.
  3. Run 'npm ci'
  4. See error... "Cannot convert undefined or null to object"

image

2022-08-01T13_08_54_339Z-debug-0.log

Environment

  • npm: 8.15.1
  • Node: v16.16.0
  • OS: Mac Os (Monterrey)
  • platform: -
@hiuxmaycry hiuxmaycry added the Needs Triage needs an initial review label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage needs an initial review
Projects
None yet
Development

No branches or pull requests

1 participant