question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error during build CRA app

See original GitHub issue

Please 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:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
rthadurcommented, May 16, 2022

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

0reactions
google-ml-butler[bot]commented, May 17, 2022

Are you satisfied with the resolution of your issue? Yes No

Read more comments on GitHub >

github_iconTop Results From Across the Web

My create-react-app is failing to compile due to ESLint error
1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder. · 2. Delete node_modules in your project folder. · 3.
Read more >
How to prevent failing to compile on CRA when eslint errors?
I installed the new react/CRA version (4). Right now when I have eslint errors the whole page blows and CRA fails to compile....
Read more >
create-react-app not working ⚠️ error solved - YouTube
In this video, we will solve the error in reactjs that We no longer support global installation of Create React App. ✔️create-react- app...
Read more >
How to fix build failures with `create-react-app` in production
If your build is using create-react-app and has been failing since approximately the 18th of June 2020, this post will help you fix...
Read more >
CRA 5.0.0 breaks build : r/reactjs - Reddit
Open the App.test.tsx file and introduce any syntax error. For instance, change <App /> to <App > . Build the project with npm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found