Error during build CRA app
See original GitHub issuePlease make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
I’m not sure if it’s a “build” type of issue, but it happens when I try to build the app 😄
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS 12.3.1
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
- TensorFlow.js installed from (npm or script link): npm
- TensorFlow.js version: 3.13.0
- CUDA/cuDNN version:
Describe the problem
I use create-react-app based application and have inside. It used to work, but now I migrate to monorepo and node_modules are hoisted to the root, nothing else has changed.
During the default build command, I started getting the error:
node_modules/@tensorflow/tfjs-converter/dist/operations/executors/control_executor.js: Couldn’t find a Program
Provide the exact sequence of commands / steps that you executed before running into the problem
"@tensorflow-models/body-pix": "2.2.0",
"@tensorflow/tfjs": "3.13.0",
and I use it like
import "@tensorflow/tfjs";
import * as bodyPix from "@tensorflow-models/body-pix";
Any other info / logs
node_modules/@tensorflow/tfjs-converter/dist/operations/executors/control_executor.js: Couldn't find a Program
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top GitHub Comments
please use new pose-detection model here https://github.com/tensorflow/tfjs-models/tree/master/pose-detection as we no longer support body pix. Thank you
Are you satisfied with the resolution of your issue? Yes No