-
Notifications
You must be signed in to change notification settings - Fork 124
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
fix: install error due to peer conflict #611
Conversation
Thanks for the pull request, @ghassanmas! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
Why this doesn't occur in edx: Because edx is using an older version of npm which doesn't check for validation, hence Given since npm 8.6.0 or something npm started to validate pacakge-lock.json hence: npm/cli#4664 |
@ghassanmas The upgrade of these tensorflow packages is going from v1 to v3. Were there any breaking changes that needed to be addressed in this repo, or are the breaking changes in v2/v3 not relevant to this repo? Also, FWIW, it looks like this repo has a |
It shouldn't because to my understanding This repo doesn't use tensorflow core nor tensorflow converter, they are added just as peer dependecy only I assume?. When I searched in repo code, I can only find usage only for
I guess you mean here it needs simlair PR to this. Should I make simliar changes and then rebase this PR after is-es5 is removed? |
Hello, I think is-es5 is already removed 1967199, and now you can rebase this branch to pass the test |
This fixes install error on node 16 and npm => 12 The install error is due to confliect of peer dependecy. The project is using tensorflow-models/blazeface 0.0.7 which require tensorflow/tfjs-converter and tensorflow/tfjs-core to be ^3.11.0 ref: https://github.com/tensorflow/tfjs-models/blob/dcec078d66eb36e36cae516e1581d69d50d4fca3/blazeface/package.json#L15-L18 Note: this might not have caused erros before, because probably npm older version didn't catch but it was suppose to.
8b70df6
to
f850946
Compare
@dcoa thanks for the update!; its done now |
@ghassanmas Thank you for your contribution. |
Codecov Report
@@ Coverage Diff @@
## master #611 +/- ##
=======================================
Coverage 39.53% 39.53%
=======================================
Files 106 106
Lines 2188 2188
Branches 582 582
=======================================
Hits 865 865
Misses 1238 1238
Partials 85 85 Continue to review full report at Codecov.
|
Hi @ghassanmas I think this PR could be closed due to someone updating the @tensorflow dependency and is in master now 0527c73 |
@ghassanmas Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
This fixes install error on node 16 and npm => 8.6.*
The install error is due to confliect of peer dependecy.
The project is using tensorflow-models/blazeface 0.0.7
which require tensorflow/tfjs-converter and tensorflow/tfjs-core
to be ^3.11.0 ref
Note: this might not have caused erros before, because probably npm older version didn't catch but it was suppose to.
Also this needs probably need to be backported to nutmeg.
The error: