cordova-plugin-comprise-speech-to-text.COMPRISE_SpeechToText is undefined
I have problems running the App with cordova run android
, the App starts with Comprise logo and i got a white screen, the app doens't crash but I can see some errors with Android Studio
:
I/chromium: [INFO:CONSOLE(3178)] "Uncaught Error: Module cordova-plugin-comprise-speech-to-text.COMPRISE_SpeechToText does not exist.", source: http://localhost/polyfills-es2015.js (3178)
...
I/chromium: [INFO:CONSOLE(43988)] "ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'COMPRISE_SpeechToText' of undefined
TypeError: Cannot read property 'COMPRISE_SpeechToText' of undefined
at new HomePage (http://localhost/home-home-module-es2015.js:6713:25)
at createClass (http://localhost/vendor-es2015.js:66966:20)
at createDirectiveInstance (http://localhost/vendor-es2015.js:66775:22)
at createViewNodes (http://localhost/vendor-es2015.js:78055:38)
at createRootView (http://localhost/vendor-es2015.js:77927:5)
at callWithDebugContext (http://localhost/vendor-es2015.js:79457:27)
at Object.debugCreateRootView [as createRootView] (http://localhost/vendor-es2015.js:78693:12)
at ComponentFactory_.create (http://localhost/vendor-es2015.js:65909:31)
at ComponentFactoryBoundToModule.create (http://localhost/vendor-es2015.js:62344:29)
at ViewContainerRef_.createComponent (http://localhost/vendor-es2015.js:66067:47)", source: http://localhost/vendor-es2015.js (43988)
It sounds that `cordova-plugin-comprise-speech-to-text.COMPRISE_SpeechToText' is undefined.
In npm run generate_android
, I can see cordova-plugin-comprise-speech-to-text
installation :
cordova plugin remove cordova-plugin-comprise-speech-to-text
Removing "cordova-plugin-comprise-speech-to-text"
Removing cordova-plugin-comprise-speech-to-text from package.json
cordova plugin add cordova-plugin-comprise-speech-to-text
Adding cordova-plugin-comprise-speech-to-text to package.json
… later …
Installing "cordova-plugin-comprise-speech-to-text" for android
…
BUILD SUCCESSFUL in 23s
Any idea, where I can investigate ?