@rpragesh1 wrote:
Hi,
I am trying to add fcm plugin in my project but it shos following errorionic cordova plugin add cordova-plugin-fcm > cordova plugin add cordova-plugin-fcm --save Error: Failed to fetch plugin file:node_modules/cordova-plugin-fcm via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: cmd: Command failed with exit code 4294963238 Error output: npm ERR! addLocal Could not install F:\PROJECTS\IONIC2\foodJunctionMobileApp\node_modules\cordova-plugin-fcm npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "file:node_modules/cordova-plugin-fcm" "--production" "--save" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! path F:\PROJECTS\IONIC2\foodJunctionMobileApp\node_modules\cordova-plugin-fcm npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open 'F:\PROJECTS\IONIC2\foodJunctionMobileApp\node_modules\cordova-plugin-fcm' npm ERR! enoent ENOENT: no such file or directory, open 'F:\PROJECTS\IONIC2\foodJunctionMobileApp\node_modules\cordova-plugin-fcm' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! F:\PROJECTS\IONIC2\foodJunctionMobileApp\npm-debug.log [ERROR] An error occurred while running cordova plugin add cordova-plugin-fcm --save (exit code 1).
I am connected to the internet so that is not the problem. I added plugin for login with google plus I think may be it is conflicting but not sure. kindly help if anyone knows about it. Thank you.
Posts: 1
Participants: 1