-
Notifications
You must be signed in to change notification settings - Fork 100
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
Bundle & Minify with WebPack? #146
Comments
Can you try adding the aws-crt-nodejs to the package.json?
|
It seems that the problem is in the way the binding is done... Has anybody used aws-iot-device-sdk-js-v2 with webpack?
webpack it's able to find the file but unable to load it. |
I am trying without success. Did you make it work? |
Changing this to a feature request. This doesn't seem work currently so code changes, documentation, and an example need to be added. |
I have this problem too |
Ello, same issue here :) |
Same here... |
Same here |
Thank you for making this issue. We have made several Webpack improvements and changes recently that may have fixed this issue. When I tried a webpack minimizer, I was able to successfully minimize the PubSub sample and run it. Can you please give the sample in this PR a try and let us know if it works for you? #375 |
Currently facing this issue, using the most latest versions on Webpack(5.8+), AWS CRT, React(18) and Node(18).
|
@AkshitAggarwal do you see that issue with the sample in the PR: #375? Edit: Also, does the project where you are seeing this issue still run, despite the warnings? There is this issue on the Javascript CRT that mentions that the application still runs, it just shows a bunch of warnings, while this original post in this issue seems to indicate that the minimized application was not able to run (from what I can gather). |
Also, if you are still seeing this issue, can you provide the |
Hello I have a similar issue when using the import
My webpack config :-
the error :-
|
I also facing a similar issue while installing the
|
Confirm by changing [ ] to [x] below:
Known Issue
<prefix>-ats.iot.<region>.amazonaws.com
Platform/OS/Hardware/Device
nodejs on windows / linux (attempting to deploy)
Describe the question
I'm attempting to package up my device communicator that uses aws-iot in a node app into a command line tool that can be deployed into a device linux environment and i'm having problems with WebPack. Is there anything special i have to do to get it to work?
My code completely works without running it through WebPack and WebPack builds and runs just fine if i exclude any of the AWS stuff so i think it has to do with the import of the AWS stuff.
Is there anything i need to do so that it will be able to pass through WebPack?
The text was updated successfully, but these errors were encountered: