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.

No dependencies built in packaged app

See original GitHub issue
  • Version: 5:30.0
  • Target: All platforms
  • REPOSITORY
  • Issue: App runs in development as expected. Building either dist or pack, both package the app as normal with no errors or warnings. But when the packaged app is executed, following error is shown: http://i.imgur.com/AnFHdap.png
    I’ve tested it without this exact module, electron-config, and the remaining dependencies bring up the same error. EG: electron-is-dev | electron-dl.
    Unsure if it’s an error with my code or if something wrong with the builder.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
develarcommented, Aug 22, 2016

@GDur You must add app dependencies to app package.json, not to dev.

"dependencies": {
    "electron-config": "^0.2.1",
    "electron-is-dev": "^0.1.2"
  },

must be in the app/package.json.

0reactions
GDurcommented, Aug 22, 2016

It’s working now 😃 Thank you very much for the fast Answer!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding package dependencies to your app - Apple Developer
Add a package dependency. To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and...
Read more >
Dependencies are not packaged by electron-builder ... - GitHub
I'm having issues trying to use pnpm and electron-builder. I tried multiple times to package the app using basic commands and build ......
Read more >
No Dependencies are automatically installed when adding ...
After having the Package in the TFS Packages. I tried to add my nuget package to my project. The nuget referenced package were...
Read more >
How to package a node app with their dependencies
Building a node app is easy, but we need to check some things before packaging our apps in Arch Linux. The dependencies.
Read more >
Package built with dependency on another package that uses ...
Run into another issue with build tool plugins that I am a bit stumped by; I have the following packages: package-data-model - defines...
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