Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detox-cli on fails to run on windows with nvm #509

Closed
nagyv opened this issue Jan 11, 2018 · 2 comments
Closed

detox-cli on fails to run on windows with nvm #509

nagyv opened this issue Jan 11, 2018 · 2 comments

Comments

@nagyv
Copy link

nagyv commented Jan 11, 2018

Description

Running detox.cmd as it should be:

detox.cmd
/bin/bash: C:\Program Files\nodejs\node_modules\detox-cli\cli.sh: No such file or directory

Running the cli as detox.cmd calls it:

bash.exe cli.sh
/mnt/c/ProgramData/nvm/v7.10.1/node_modules/detox-cli/node_modules/detox/package.json
detox is not installed in this directory

Thus it might be related to nvm, but I'm not sure about this, as running the nvm version directly has the same error as the first run:

"c:\ProgramData\nvm\v7.10.1\detox.cmd" help
/bin/bash: c:\ProgramData\nvm\v7.10.1\node_modules\detox-cli\cli.sh: No such file or directory

at the same time I can run detox with node_modules\.bin\detox.cmd and it prints its help.

Steps to Reproduce

just run detox.cmd on windows with nvm

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 6.0.4
  • Node: 7.10.1
  • Device: Windows 10 with nvm
  • nvm version: 1.1.5
@rotemmiz
Copy link
Contributor

Detox doesn't support windows currently. PRs are very welcome though.
You're welcome to open a [Feature request] issue to add support, or better yet, submit a PR.
I'm closing this issue.

@LeoNatan
Copy link
Contributor

While Windows is not supported, the Linux Subsystem for Windows may be; I suggest trying to run Detox there.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants