Getting
Uncaught ReferenceError: $670d1da690979442$exports is not defined at initializers.ts:35:43
when importing from the NPM package. Was previously solved in e0e3bb0 by loading Tensorflow from a CDN, but that:
- Requires a network connection
- Loses type definitions
- Doing version management outside of NPM
import * as tf from "@tensorflow/tfjs/dist/tf";
works, but loses the type definitions. Can test locally with:
npm run clean
npm run build
cd dist
python3 -m http.server
and opening http://localhost:8000.
Getting
when
importing from the NPM package. Was previously solved in e0e3bb0 by loading Tensorflow from a CDN, but that:works, but loses the type definitions. Can test locally with:
npm run clean npm run build cd dist python3 -m http.serverand opening http://localhost:8000.