mosabab commented on issue #113:
URL: https://github.com/apache/cordova-fetch/issues/113#issuecomment-1533753779

   > You said the plugins are being restored from config.xml? Cordova should be 
trying to automatically migrate those to package.json, which would use 
`github:apache/cordova-plugin-vibration` as the spec rather than 
`https://github.com/apache/cordova-plugin-vibration.git`.
   > 
   > I'd be curious to know if changing the spec in config.xml to the 
`github:apache/cordova-plugin-vibration` format fixes the problem.
   
   I try to use `github:apache/cordova-plugin-vibration` in `spec`
   
   also produce same error.
   
   I build the app from scratch. using:
   `cordova platform add ios --verbose`
   
   I put cordova-plugin-vibration as an example,
   the following error occur for each plugin listed in `config.xml`:
   
   Discovered plugin "cordova-plugin-vibration". Adding it to the project
   No scripts found for hook "before_plugin_add".
   Calling plugman.fetch on plugin 
"https://github.com/apache/cordova-plugin-vibration.git";
   Failed to fetch plugin 
https://github.com/apache/cordova-plugin-vibration.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   CordovaError: Failed to fetch plugin 
https://github.com/apache/cordova-plugin-vibration.git via registry.
   Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   CordovaError: Error: An unknown git error occurred
   at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/fetch.js:140:43


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to