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.

dependency was not found

See original GitHub issue

I npm install brain.js and its in my package.json and I have Xcode and python 2.7 installed and when I try and do import brain from 'brain.js'; in my script (using vuejs not that it should matter) I get error

This dependency was not found:

* brain.js in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/ML.vue?vue&type=script&lang=js

To install it, you can run: npm install --save brain.js

and I’ve tried the npm rebuild as the docs say to try as well and same thing

This is for browser of course not node not sure if that has something to do with it or not

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Neliascommented, Nov 11, 2020

This issue should be closed as it is clearly not the problem with library itself.

0reactions
robertleeplummerjrcommented, Apr 13, 2022

Try this now. This issue is related to https://github.com/stackgl/headless-gl. If there are further installation issues with headless-gl, please raise an issue there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency Not found even defined in package.json and ...
I took this debugging opportunity to learn more about npm and webpack. It looks like the creators of photo-sphere-viewer did not specify ...
Read more >
Dependency not found - Get Help - Vue Forum
Hi There, I'm new to Vue, I have added a package to my project, it appears in the package. json and in the...
Read more >
getting the following error This dependency was not found: FS
When I run npm run dev. I am getting the following error. ERROR Failed to compile with 3 errors 22:07:39. This dependency was...
Read more >
"Dependencies were not found" - on npm run serve #4472
I solved the issue by installing core-js@2 as well downgrading the version of my npm and node. It seemed that the latest versions...
Read more >
NPM dependency not found, but `npm install` says it's up to date
What I do see is an error regarding Glitch's ability to start your project, caused because your package.json's scripts property doesn't have a...
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