Skip to content

Conversation

thymikee
Copy link
Member

Summary:

Fixes #795

Test Plan:

run-android doesn't break on Windows

@thymikee
Copy link
Member Author

thymikee commented Oct 16, 2019

@thecodrr @zrelyydereva kindly asking for testing this on Windows under various terminals and shells (not sure if npx.exe works on git-bash, Cygwin, Mingw, etc).

@zrelyydereva
Copy link

zrelyydereva commented Oct 16, 2019

npx is "npx.cmd",
After Fixes as below,

-    def npx = Os.isFamily(Os.FAMILY_WINDOWS) ? "npx.exe" : "npx"
+   def npx = Os.isFamily(Os.FAMILY_WINDOWS) ? "npx.cmd" : "npx"

It's ok on "command prompt" and ConEmu(090526) at Windows 10
sorry for could not posting any files.

@thymikee thymikee changed the title fix: run npx.exe on Windows fix: run npx.cmd on Windows Oct 16, 2019
@thymikee
Copy link
Member Author

@zrelyydereva changed to npx.cmd, further testing appreciated :)

@zrelyydereva
Copy link

zrelyydereva commented Oct 16, 2019

thank you for immidiate response.
git-bash(mingw) looks like also ok.

$ cat /proc/version
MINGW64_NT-10.0 version 2.10.0(0.325/5/3) (@8d059672d1f9) (gcc version 7.3.0 (GCC) ) 2018-04-23 03:21

P.S. That's all terminals I have.

@thymikee thymikee merged commit d4b678b into master Oct 16, 2019
@thymikee thymikee deleted the fix/npx-windows branch October 16, 2019 09:17
grabbou added a commit that referenced this pull request Nov 14, 2019
* update lockfile

* v3.0.0-alpha.3

* chore: add v3 support table

* v3.0.0-alpha.4

* v3.0.0-alpha.5

* chore: set publishConfig for packages

* v3.0.0-alpha.6

* fix: check for podspecPath in warnAboutPodInstall (#800)

* fix: run npx.cmd on Windows (#801)

* fix: run npx.exe on Windows

* use npx.cmd

* v3.0.0-alpha.7

* fix: podfile parsing on invalid yaml (#810)

* Remove haste

* Update test without large snapshot

* Update configuration

* Revert unecessary changes

* One more file
thymikee pushed a commit that referenced this pull request Nov 20, 2019
* update lockfile

* v3.0.0-alpha.3

* chore: add v3 support table

* v3.0.0-alpha.4

* v3.0.0-alpha.5

* chore: set publishConfig for packages

* v3.0.0-alpha.6

* fix: check for podspecPath in warnAboutPodInstall (#800)

* fix: run npx.cmd on Windows (#801)

* fix: run npx.exe on Windows

* use npx.cmd

* v3.0.0-alpha.7

* fix: podfile parsing on invalid yaml (#810)

* Remove haste

* Update test without large snapshot

* Update configuration

* Revert unecessary changes

* One more file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't build after project initialization
2 participants