Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_module issue #10

Open
dpaceoffice opened this issue Dec 9, 2021 · 0 comments
Open

node_module issue #10

dpaceoffice opened this issue Dec 9, 2021 · 0 comments

Comments

@dpaceoffice
Copy link

dpaceoffice commented Dec 9, 2021

After installing using npm i tfjs-yolov3

I get this error from importing it into my project. util.js does exist.

node_modules\@tensorflow\tfjs-data\dist\util\deep_map.js: util could not be found within the project or in these directories:
  node_modules\tfjs-yolov3\node_modules
  node_modules

If you are sure the module exists, try these steps:
 1. Clear watchman watches: watchman watch-del-all
 2. Delete node_modules and run yarn install
 3. Reset Metro's cache: yarn start --reset-cache
 4. Remove the cache: rm -rf /tmp/metro-*
  54 | Object.defineProperty(exports, "__esModule", { value: true });
  55 | var tf = require("@tensorflow/tfjs-core");
> 56 | var util_1 = require("@tensorflow/tfjs-core/dist/util");
     |                                                  ^
  57 | var util_2 = require("util");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant