Closed AbhishekTaparia closed 3 years ago
Actually I don't see the error now. I created new project and did all the steps. Although there might be aproblem in push-kit 5.0.2 version.
....@.....-VivoBook-ASUS-Laptop-X510UFO:~/cordova/MyApp3$ cordova plugin add ~/Downloads/cordova-push-package-5.0.2.300/cordova-plugin-hms-push/
Installing "cordova-plugin-hms-push" for android
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-hms-push': Error: Uh oh!
ENOENT: no such file or directory, open '/home/..../cordova/MyApp3/plugins/cordova-plugin-hms-push/www/HmsPush.js'
at Object.openSync (fs.js:440:3)
at Object.readFileSync (fs.js:342:35)
at install (/home/.../cordova/MyApp3/platforms/android/cordova/lib/pluginHandlers.js:162:36)
at ActionStack.process (/home/.../cordova/MyApp3/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/home/.../cordova/MyApp3/node_modules/cordova-common/src/PluginManager.js:114:20)
at PluginManager.addPlugin (/home/.../cordova/MyApp3/node_modules/cordova-common/src/PluginManager.js:144:17)
at /home/../cordova/MyApp3/platforms/android/cordova/Api.js:210:74
at _fulfilled (/home/../cordova/MyApp3/node_modules/q/q.js:854:54)
at /home/../cordova/MyApp3/node_modules/q/q.js:883:30
at Promise.promise.promiseDispatch (/home/../cordova/MyApp3/node_modules/q/q.js:816:13)
Uh oh!
ENOENT: no such file or directory, open '/home/../cordova/MyApp3/plugins/cordova-plugin-hms-push/www/HmsPush.js'```
Hello @AbhishekTaparia ; This issue is already located and we`ll publish a new version of Cordova Push at the end of October, it will be fixed at that version 👍
How should we use the plugin meanwhile you guys release the new version?
@aktug any update on the date?
@sagrawal31 end of October 👍
The following error occurs when I add this plugin to the cordova application.