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

Error while using an overridden npm package #62

Open
tt-driver-apps opened this issue Mar 25, 2020 · 0 comments · May be fixed by #65
Open

Error while using an overridden npm package #62

tt-driver-apps opened this issue Mar 25, 2020 · 0 comments · May be fixed by #65

Comments

@tt-driver-apps
Copy link

Hi,

In our project, we use a new NPM feature to override a package:

See https://github.com/Kudo/jsc-android-buildscripts

yarn add jsc-android@npm:@kudo-ci/jsc-android

will generate this line in our package.json:

"jsc-android": "npm:@kudo-ci/[email protected]"

Sadly, nlffail on with this error:

Serious problem reading node_module dependencies
Error: /<path to project>/node_modules/@kudo-ci/jsc-android/package.json is not a node project
      at /<path to project>/node_modules/snyk-resolve-deps/lib/deps.js:125:13
      at tryCallOne (/<path to project>/node_modules/promise/lib/core.js:37:12)
      at /<path to project>/node_modules/promise/lib/core.js:123:15
      at flush (/<path to project>/node_modules/asap/raw.js:50:29)
      at processTicksAndRejections (internal/process/task_queues.js:79:11),

Do you have any suggestion to avoid this problem? Or a plan to improve the library to deal with that?

Thanks a lot.

@jgreen210 jgreen210 linked a pull request May 6, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant