awslabs / aws-crt-nodejs

NodeJS bindings for the AWS Common Runtime.
Apache License 2.0
40 stars 27 forks source link

aws-crt mqtt library not working with Webpack 5 #425

Closed massi-ang closed 1 year ago

massi-ang commented 1 year ago

Using aws-crt in a React v18 app, which uses Webpack 5 does not work since Webpack 5 doesn't provide Node modules polyfills which are required by MQTTjs.

See https://github.com/mqttjs/MQTT.js/issues/1582 for workaround

Also reported as: https://github.com/aws/aws-iot-device-sdk-js-v2/issues/331

bretambrose commented 1 year ago

This should be addressed in v1.15.10