I'm trying to get tensorflow.js working within my existing angular project. Once I start compiling my project with ng serve I get the following error:
ERROR in node_modules/@tensorflow/tfjs-layers/dist/engine/training_utils.d.ts(71,92): error TS1005: '>' expected. node_modules/@tensorflow/tfjs-layers/dist/engine/training_utils.d.ts(71,129): error TS1109: Expression expected.
I have the following local versions in my project:
- "@tensorflow/tfjs": "^1.2.8"
- local Angular CLI version 1.7.4
- "typescript": "^2.6.2"