-
Notifications
You must be signed in to change notification settings - Fork 595
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
Can't resolve 'vertx' #305
Can't resolve 'vertx' #305
Comments
Got the same thing today |
sounds like a webpack bug? |
@stefanpenner I just found this issue today. Any updates on a fix? |
Looks like it's a problem here function attemptVertx() {
try {
var r = require;
var vertx = r('vertx');
vertxNext = vertx.runOnLoop || vertx.runOnContext;
return useVertxTimer();
} catch (e) {
return useSetTimeout();
}
} |
That's true. I'm getting the same issue here. |
@pablohpsilva webpack appears to not respect browserifies Lines 53 to 55 in e1bb7b6
@TheLarkInn is it intended for webpack to not support this? I suspect if it did, it would support even more browserify-safe packages. If not, is there another configuration based approach which could be used? Alternatively, is there some heuristic we can rely on to |
@TheLarkInn friendly ping |
I think |
So, I gave this a whirl. But am unable to reproduce. Here is my attempt: https://github.com/stefanpenner/test-es6-promise-webpack If someone can help make my reproduction fail, I can likely configure webpack appropriately, more then likely via: // webpack.config.js
module.exports = {
externals: {
vertex: /** magic **/
}
} Unfortunately without reproduction, I have no way to confirm. So if ya'll can help me with ^, I'll land the fix. |
I was able to reproduce, required |
Cc @theLarkin, is there a better way?
i just had the same issue & figured out what was going on.
when webpack was compiling subproject, it noticed i was requiring an external dependency & throwed the vertex the warning.
and file B like this:
|
Hello everyone. I solved my issue with this lib in some different way. Since I was creating a lib, I moved from webpack to rollup and instead of importing the But this error is super annoying. |
Hello there, I have the same issue with auth0-js (auth0/auth0.js#1250), does anyone know how I can fix it? I'm migrating from vue-cli-service to Vite (rollup) for work. Thank you |
iv tried doing the
new webpack.IgnorePlugin(/vertx/)
not working for me
The text was updated successfully, but these errors were encountered: