Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

[BUG] parent for non-registry dep on only mode resolution fails #23

Open
santiagoaguiar opened this issue May 26, 2020 · 0 comments · May be fixed by #18
Open

[BUG] parent for non-registry dep on only mode resolution fails #23

santiagoaguiar opened this issue May 26, 2020 · 0 comments · May be fixed by #18

Comments

@santiagoaguiar
Copy link

What / Why

npm ci --production fails with enoent ENOENT: no such file or directory error.

When

When a prod dependency A and a dev dependency B both depend on a dependency C that is not installed through a registry (eg. was installed through github), and running in production-only mode, the updateJson process fails because the parent dependency package.json file cannot be resolved.

Where

Module requesting private github repo dependency.

How

Current Behavior

  • fails with enoent ENOENT: no such file or directory error.

Steps to Reproduce

See repro test on #18

Expected Behavior

  • Should not fail.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant