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.

Unable to bundle your SDK with webpack

See original GitHub issue

Hello, you are using dynamic import, so we can’t bundle your SDK in a standalone app with webpack

    at Object.<anonymous> (/app/index.js:59206:14)
    at __webpack_require__ (/app/index.js:20:30)
    at Object.<anonymous> (/app/index.js:59195:20)
    at __webpack_require__ (/app/index.js:20:30)
    at Object.<anonymous> (/app/index.js:18732:20)
    at __webpack_require__ (/app/index.js:20:30)
    at Object.<anonymous> (/app/index.js:58131:17)
    at __webpack_require__ (/app/index.js:20:30)
    at Object.<anonymous> (/app/index.js:33303:15)
    at __webpack_require__ (/app/index.js:20:30)```

At bundled line : var crypto = require('crypto');

Issue Analytics

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

github_iconTop GitHub Comments

4reactions
kevinmiguetcommented, Nov 13, 2020

Because of this I removed mailjet and switched to sendinblue. Sorry guys 😢 , dommage !

1reaction
javierguzmancommented, Oct 19, 2020

@Maxou44 That is sad…I guess I will have to do the same as I do not see much activity around here. Maybe even change provider now I am not that locked. Thank you very much for the quick answer!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bundling Applications with Webpack - AWS SDK for JavaScript
The webpack module bundler parses your application code, searching for import or require statements, to create bundles that contain all the assets your...
Read more >
I am excluding aws-sdk in my webpack bundle for Lambda
When I include new webpack.IgnorePlugin(/aws-sdk/) in webpack configuration, it fails. (When I take out this config, it works) Below is the ...
Read more >
Why can't create bundle.js file? - webpack - Stack Overflow
I set the name of the bundle.js file, while it still remains minified ... By clicking “Post Your Answer”, you agree to our...
Read more >
Module Federation - webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >
Resolve | webpack
When enabled, symlinked resources are resolved to their real path, not their symlinked location. Note that this may cause module resolution to fail...
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