You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/14 20:44:36 UTC

[GitHub] [cordova-fetch] shankari edited a comment on issue #87: cordova@8.0.0 -> cordova@9.0.0 breaks plugin installs using git repos or local directories

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


   Ok, so I poked around this some more, and I know the reason behind the difference in `superspawn` behavior.
   
   After adding log statements to all instances of superspawn, it looks like this is difference is due to the differences in the versions of superspawn included in the project.
   
   ```
   $ find node_modules -name \*superspawn.js
   node_modules/cordova/node_modules/cordova-common/src/superspawn.js
   node_modules/cordova-common/src/superspawn.js
   node_modules/cordova-create/node_modules/cordova-common/src/superspawn.js
   node_modules/cordova-fetch/node_modules/cordova-common/src/superspawn.js
   node_modules/cordova-lib/node_modules/cordova-common/src/superspawn.js
   node_modules/phonegap/node_modules/cordova-common/src/superspawn.js
   node_modules/phonegap/node_modules/cordova-create/node_modules/cordova-common/src/superspawn.js
   ```
   
   While using node directly, we use `node_modules/cordova-common/src/superspawn.js`, while using `plugin add`, we use `node_modules/cordova-fetch/node_modules/cordova-common/src/superspawn.js`. The two versions are different, although I cannot see which of the differences lead to this difference in behavior.
   
   [not_working_to_working.diff.gz](https://github.com/apache/cordova-fetch/files/4921302/not_working_to_working.diff.gz)
   


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



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