shankari edited a comment on issue #87:
URL: https://github.com/apache/cordova-fetch/issues/87#issuecomment-657979899


   Finally, `-d` also gives us a clue as to why the registry install works 
(eventually). It uses `plugman install` instead of `npm install`
   
   <details>
   <summary>Logs</summary>
   ```
   $ npx cordova plugin -d add phonegap-plugin-contentsync
   No scripts found for hook "before_plugin_add".
   No version specified for phonegap-plugin-contentsync, retrieving version 
from package.json
   Calling plugman.fetch on plugin "phonegap-plugin-contentsync@^1.4.2"
   Copying plugin 
"/Users/kshankar/e-mission/upgrade_platform/node_modules/phonegap-plugin-contentsync"
 => 
"/Users/kshankar/e-mission/upgrade_platform/plugins/phonegap-plugin-contentsync"
   Calling plugman.install on plugin 
"/Users/kshankar/e-mission/upgrade_platform/plugins/phonegap-plugin-contentsync"
 for platform "android
   Installing "phonegap-plugin-contentsync" for android
   Running command: 
/Users/kshankar/e-mission/upgrade_platform/platforms/android/cordova/version
   Command finished with error code 0: 
/Users/kshankar/e-mission/upgrade_platform/platforms/android/cordova/version
   Finding scripts for "before_plugin_install" hook from plugin 
phonegap-plugin-contentsync on android platform only.
   No scripts found for hook "before_plugin_install".
   Install start for "phonegap-plugin-contentsync" on android.
   PlatformApi successfully found for platform android
   Beginning processing of action stack for android project...
   Action stack processing complete.
   Install complete for phonegap-plugin-contentsync on android.
   Finding scripts for "after_plugin_install" hook from plugin 
phonegap-plugin-contentsync on android platform only.
   No scripts found for hook "after_plugin_install".
   Calling plugman.install on plugin 
"/Users/kshankar/e-mission/upgrade_platform/plugins/phonegap-plugin-contentsync"
 for platform "ios
   Installing "phonegap-plugin-contentsync" for ios
   Running command: 
/Users/kshankar/e-mission/upgrade_platform/platforms/ios/cordova/version
   Command finished with error code 0: 
/Users/kshankar/e-mission/upgrade_platform/platforms/ios/cordova/version
   Finding scripts for "before_plugin_install" hook from plugin 
phonegap-plugin-contentsync on ios platform only.
   No scripts found for hook "before_plugin_install".
   Install start for "phonegap-plugin-contentsync" on ios.
   PlatformApi successfully found for platform ios
   Beginning processing of action stack for ios project...
   Adding non-custom framework to project... libz.dylib -> 
{"customFramework":false,"embed":false,"link":true,"weak":false}
   Non-custom framework added to project. libz.dylib -> 
{"customFramework":false,"link":true,"weak":false}
   Action stack processing complete.
   pods.json found in platforms/ios
   Podfile found in platforms/ios
   Install complete for phonegap-plugin-contentsync on ios.
   Finding scripts for "after_plugin_install" hook from plugin 
phonegap-plugin-contentsync on ios platform only.
   No scripts found for hook "after_plugin_install".
   Adding phonegap-plugin-contentsync to package.json
   No scripts found for hook "after_plugin_add".
   ```
   </details>


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to