I have a dependency conflict in my project, I am getting this error:
node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:18:23 -
error TS4090: Conflicting definitions for '@webgpu/types/dist' found;
In package.lock.json, there's clearly a conflict, because webgpu/types is defined with different versions.
"node_modules/@tensorflow/tfjs-core": {
"@webgpu/types": "0.1.16"
}
"node_modules/@tensorflow/tfjs/node_modules/@tensorflow/tfjs-core": {
"@webgpu/types": "0.1.21",
}
I tried deleting node_modules and installing them again, but I am getting the same error. Also tried upgrading & downgrading webgpu but the same error occurs. Maybe it's Tensorflow.JS's problem, but the fact is that for 2 days I'm trying to resolve this and I can't. Please help.