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.

These dependencies were not found

See original GitHub issue

Describe the bug After installing knex and serving the app i got an error saying “These dependencies were not found”

To Reproduce

  • Create a new project
  • Install knex and mysql driver npm install --save knex mysql
  • Run npm run electron:serve

Expected behavior Electron app boot up and work normally

Screenshots gambar

Environment (please complete the following information):

Additional context

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
krisismcommented, Feb 5, 2020

That did the trick, thank you so much for that tip @nklayman . You’re a gentleman and a scholar.

1reaction
nklaymancommented, Mar 3, 2019

@chen-xin Make sure to mark sqlite3 as an external:

// vue.config.js
module.exports = {
  pluginOptions: {
    electronBuilder: {
      externals: ['sqlite3'],
      // If you are using Yarn Workspaces, you may have multiple node_modules folders
      // List them all here so that VCP Electron Builder can find them
      nodeModulesPath: ['../../node_modules', './node_modules']
    }
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

These dependencies were not found error in Vue.js
After updating npm & node to their last versions, I get following errors when I try to run my vue project: These dependencies...
Read more >
"Dependencies were not found" - on npm run serve #4472
These dependencies were not found : C:\Users\Sepp\Documents\dev\Vue\testapp\node_modules\webpack-dev-server\client\index.js?
Read more >
This dependency was not found on .vue file when running ...
I generated a project using the Nuxt scaffold command: npx create-nuxt-app {name}. As a child of a larger repository where the root has...
Read more >
Handsontable Pro: These dependencies were not found - Issues
Hello, I'm developing a Vue.js project and I properly installed Handsontable using npm. Following the instructions described here, I was able to add...
Read more >
How to fix "These dependencies were not found:" when ...
[Solved]-How to fix "These dependencies were not found:" when deploying with Netlify given that yarn run serve works on local machine-Vue.js ... If...
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