Ошибка AWSIoTProvider при попытке добавить в веб-приложение - PullRequest
0 голосов
/ 03 декабря 2018
Uncaught (in promise) Error: Bot AWSIoTProvider has wrong category
at Interactions../node_modules/aws-amplify/lib/Interactions/Interactions.js.Interactions.addPluggable (commons.js:42454)
at commons.js:40022
at Array.map (<anonymous>)
at Function../node_modules/aws-amplify/lib/Common/Amplify.js.Amplify.addPluggable (commons.js:40020)
at Object../src/layouts/index.js (commons.js:61205)
at __webpack_require__ (commons.js:556)
at fn (commons.js:87)
at Object../.cache/layouts/index.js (commons.js:57813)
at __webpack_require__ (commons.js:556)
at fn (commons.js:87)

При выводе этой ошибки в консоль при попытке добавить PubSub в мое приложениеactjs для взаимодействия с тенями устройства.Я следую инструкциям, приведенным здесь: https://aws -amplify.github.io / docs / js / pubsub

Можно использовать некоторую помощь для отладки этого.Спасибо!

...