You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/07/03 15:52:48 UTC
[GitHub] [cordova-plugin-screen-orientation] Stephane84 edited a comment on
issue #55: `Failed to install 'cordova-plugin-screen-orientation': Error:
Expected plugin to have ID "es6-promise-plugin" but got
"cordova-plugin-screen-orientation".`on `cordova prepare android`
Stephane84 edited a comment on issue #55: `Failed to install 'cordova-plugin-screen-orientation': Error: Expected plugin to have ID "es6-promise-plugin" but got "cordova-plugin-screen-orientation".`on `cordova prepare android`
URL: https://github.com/apache/cordova-plugin-screen-orientation/issues/55#issuecomment-508128333
I had a similar issue today, but not with same version.
cordova-android@6.4.0
cordova-plugin-screen-orientation 3.0.1 (not 3.0.2)
cordova CLI 8.0.0
i obtain the same stack for 'cordova prepare android' during plugin research :
```
Installing "cordova-plugin-screen-orientation" for android
Failed to install 'cordova-plugin-screen-orientation': Error: Expected plugin to have ID "es6-promise-plugin" but got "cordova-plugin-screen-orientation".
at checkID (C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\fetch.js:215:15)
at C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\fetch.js:199:9
at _fulfilled (C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54)
at self.promiseDispatch.done (C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
at Promise.promise.promiseDispatch (C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:749:13)
at C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:557:44
at flush (C:\Dev\tools\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:108:17)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Failed to restore plugin "cordova-plugin-screen-orientation" from config.xml. You might need to try adding it again. Error: Error: Expected plugin to have ID "es6-promise-plugin" but got "cordova-plugin-screen-orientation".
```
changing to cordova-plugin-screen-orientation 3.0.2 solve the problem.
Strange...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org