Open
Description
Before creating a new issue, please confirm:
- I have searched for duplicate or closed issues and discussions.
- I have tried disabling all browser extensions or using a different browser
- I have tried deleting the node_modules folder and reinstalling my dependencies
- I have read the guide for submitting bug reports.
On which framework/platform are you having an issue?
React
Which UI component?
Liveness
How is your app built?
N/A
What browsers are you seeing the problem on?
No response
Which region are you seeing the problem in?
No response
Please describe your bug.
I'm seeing a console warning for @tensorflow/tfjs-backend-webgl
when installing Amplify Liveness @aws-amplify/ui-react-liveness
package
➜ test-amplify npm install @aws-amplify/ui-react aws-amplify @aws-amplify/ui-react-liveness
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @tensorflow/[email protected]
npm WARN Found: @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-core
npm WARN @tensorflow/tfjs-core@"4.11.0" from @aws-amplify/[email protected]
npm WARN node_modules/@aws-amplify/ui-react-liveness
npm WARN @aws-amplify/ui-react-liveness@"^3.0.16" from the root project
npm WARN 4 more (@tensorflow-models/face-detection, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @tensorflow/tfjs-core@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl
npm WARN peer @tensorflow/tfjs-backend-webgl@"^4.4.0" from @tensorflow-models/[email protected]
npm WARN node_modules/@tensorflow-models/face-detection
npm WARN
npm WARN Conflicting peer dependency: @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-core
npm WARN peer @tensorflow/tfjs-core@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl
npm WARN peer @tensorflow/tfjs-backend-webgl@"^4.4.0" from @tensorflow-models/[email protected]
npm WARN node_modules/@tensorflow-models/face-detection
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @tensorflow/[email protected]
npm WARN Found: @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-core
npm WARN @tensorflow/tfjs-core@"4.11.0" from @aws-amplify/[email protected]
npm WARN node_modules/@aws-amplify/ui-react-liveness
npm WARN @aws-amplify/ui-react-liveness@"^3.0.16" from the root project
npm WARN 4 more (@tensorflow-models/face-detection, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @tensorflow/tfjs-core@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl/node_modules/@tensorflow/tfjs-backend-cpu
npm WARN @tensorflow/tfjs-backend-cpu@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl
npm WARN
npm WARN Conflicting peer dependency: @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-core
npm WARN peer @tensorflow/tfjs-core@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl/node_modules/@tensorflow/tfjs-backend-cpu
npm WARN @tensorflow/tfjs-backend-cpu@"4.17.0" from @tensorflow/[email protected]
npm WARN node_modules/@tensorflow/tfjs-backend-webgl
What's the expected behaviour?
No warning when installing package
Help us reproduce the bug!
See above
Code Snippet
// Put your code below this line.
Console log output
No response
Additional information and screenshots
No response