Closed massi-ang closed 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
This should be addressed in v1.15.10
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