breautek commented on issue #1027: URL: https://github.com/apache/cordova-android/issues/1027#issuecomment-677762390
Thanks, that was kind of my expected response, just wanted to rule it out... We are using `execa`, which behind the scenes, uses `cross-spawn` for improved windows support, as the native node APIs don't respect `PATHEXT`, which [cross-spawn](https://github.com/moxystudio/node-cross-spawn#why) is suppose to address. `execa` depends on `cross-spawn@^7.0.0`, and they have been 3 patches, with version `7.0.3` actually have a fix for detecting paths in windows. When I attempted to reproduce this issue, using a fresh install, I was probably testing with the patched version of `cross-spawn`, and thus could not reproduce the issue. You can confirm which version you have of `cross-spawn` by looking at `node_modules/cross-spawn/package.json`. The `_id` field should contain `[email protected]`. If yours contains a lower version, perhaps you're hitting a `cross-spawn` bug. Running the following commands should make sure all the subdependencies are using the latest satisfiable versions: (Forgive me, I don't know the windows equivalent of these commands, so these are based in bash...) ``` rm package-lock.json rm -rf node_modules npm install ``` ---------------------------------------------------------------- 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]
