-
Notifications
You must be signed in to change notification settings - Fork 428
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
Install fails on Windows 10 #868
Comments
I've been able to get Reason working on Ubuntu bash on Windows with both the npm installation and the opam installation: Here's a quick link on how to install it. Bear in mind, this is effectively just installing Reason on Linux and running it on Windows, |
Does not help us that run on Windows 2008 or need integration with Windows programs. ;-) |
Yeah. I am unable to update my version of Windows 10. So I cannot take advantage of WinBash, unfortunately. |
I too can install the ExampleProject in the linux subsystem. Is there a way to use the atom from windows with this with autocomplete etc? |
Also tried running in on windows linux subsystem and get this error when building fastrealpath:
Note: to get to this point I had to install |
Curious which part of reason depends on m4 |
Looked up the issue a bit and it happens because ubuntu uses dash instead of bash when running sh Fixed it by running sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh Now everything works so in summary to get in work on a fresh windows linux subsystem install I had to sudo apt-get install build-essential m4
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh |
@bobzhang Just saw this. I think ocamlfind uses m4. |
should not it be a dev dependency only? |
@bobzhang Are you asking about @janicduplessis What do we have to do to make sure everything works out of the box for winbash? |
@jordwalke I am talking about ocamlfind, does reason rely on it for building |
Bob it looks like we depend on it in a couple of unimportant places. I bet we could rip that dependency out! Good find. We are looking to reduce the size of dependencies. |
Closing this in favor of the centralized thread at reasonml/reasonml.github.io#195. Sorry for all these installations folks... |
I have tried several times to install and run the example project; however, I keep getting this:
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url npm WARN addRemoteGit npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:206:12) npm WARN addRemoteGit at emitTwo (events.js:106:13) npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7) npm WARN addRemoteGit at maybeClose (internal/child_process.js:877:16) npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) npm WARN addRemoteGit git+https://github.com/npm-opam/ocaml.git#npm-4.02.3 resetting remote C:\Users\paadams\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-opam-ocaml-git-npm-4-02-3-668766b2 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url npm WARN addRemoteGit npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:206:12) npm WARN addRemoteGit at emitTwo (events.js:106:13) npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7) npm WARN addRemoteGit at maybeClose (internal/child_process.js:877:16) npm WARN addRemoteGit at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) npm WARN addRemoteGit killed: false, npm WARN addRemoteGit code: 1, npm WARN addRemoteGit signal: null, npm WARN addRemoteGit cmd: 'git -c core.longpaths=true config --get remote.origin.url' }
I either get that error or my terminal just hangs when trying to
npm install
The text was updated successfully, but these errors were encountered: