You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package.json resolutions section appears not to be respected for dependent packages or something like that. This is causing issues like justadudewhohacks/face-api.js#455 in repos that rely on older versions of packages that reportedly don't manifest when using npm to install dependencies (something I can't do though with a yarn monorepo).
What is the expected behavior?
In yarn.lock (and in the node_modules of the tfjs-image-recognition-base package) we see @tensorflow/tfjs-core is resolved to v1.2.9
Actual behavior
In yarn.lock (and in the node_modules of the tfjs-image-recognition-base package) we see @tensorflow/tfjs-core is resolved to v1.3.1 (per the dependency's package.json which says ~1.2.9)
Please mention your node.js, yarn and operating system version.
node: v12.13.0
yarn: 1.19.1
OS: macOS High Sierra 10.13.6
Workarounds
Manually editing yarn.lock to change the "@tensorflow/tfjs-core@^1.2.9": section to match the "@tensorflow/tfjs-core@1.2.9": section appears to fix the issue.
The text was updated successfully, but these errors were encountered:
What is the current behavior?
The package.json
resolutions
section appears not to be respected for dependent packages or something like that. This is causing issues like justadudewhohacks/face-api.js#455 in repos that rely on older versions of packages that reportedly don't manifest when using npm to install dependencies (something I can't do though with a yarn monorepo).Reproducible steps
package.json
:yarn
What is the expected behavior?
In yarn.lock (and in the node_modules of the
tfjs-image-recognition-base
package) we see@tensorflow/tfjs-core
is resolved to v1.2.9Actual behavior
In yarn.lock (and in the node_modules of the
tfjs-image-recognition-base
package) we see@tensorflow/tfjs-core
is resolved to v1.3.1 (per the dependency's package.json which says ~1.2.9)Please mention your node.js, yarn and operating system version.
node:
v12.13.0
yarn:
1.19.1
OS: macOS High Sierra 10.13.6
Workarounds
Manually editing yarn.lock to change the
"@tensorflow/tfjs-core@^1.2.9":
section to match the"@tensorflow/tfjs-core@1.2.9":
section appears to fix the issue.The text was updated successfully, but these errors were encountered: