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.

Can't resolve 'vertx' in electron app

See original GitHub issue

I’m trying to use es6-promise in an electron app, but there is a console warning with the following:

Module not found: Error: Can't resolve 'vertx' in '/Users/mhuggins/Development/neo/neon-wallet/node_modules/es6-promise/dist'
 @ ./node_modules/es6-promise/dist/es6-promise.js 140:16-26
 @ ./node_modules/es6-promisify/dist/promise.js
 @ ./node_modules/es6-promisify/dist/promisify.js
 ...

I see that the package.json for this package includes this entry:

"browser": {
  "vertx": false
},

Is fixing this issue for electron as easy as adding this entry as well?

"electron": {
  "vertx": false
},

In case it’s relevant, the webpack target value is set to “electron”.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
stefanpennercommented, Jan 19, 2018

Lets assume it does. I’m going to close.

I’m sick of this webpack issue, I’ll try to find a reasonable solution shortly.

0reactions
quarterioningotcommented, Nov 1, 2019

Lets assume it does. I’m going to close.

I’m sick of this webpack issue, I’ll try to find a reasonable solution shortly.

What was the solution?

Read more comments on GitHub >

github_iconTop Results From Across the Web

vertx module not found when using webpack - Stack Overflow
To resolve the issue: Install @vertx/core ( npm i @vertx/core ). Edit the file ./node_modules/when/lib/env.js , and change line 32 from
Read more >
Developers - Can't resolve 'vertx' - - Bountysource
When trying to use this package on initial install and addition, I get the following: client?e4ca:126 .
Read more >
Eclipse Vert.x
Vert.x | Reactive applications on the JVM.
Read more >
electron can't resolve 'fs' in | The AI Search Engine You Control
When I develop an electron app (and thus have access to Node's fs module), I can't access node modules because typescript or webpack...
Read more >
HID VertX EVO V1000 Networked Controller
Provides fully functional offline operation when not actively communicating with the host access control software application, performing all access decisions ...
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