-
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
Windows cygwin build fails #782
Comments
yep, we screwed up the versioning. #781 is proposed to prevent this from happening again... In the meanwhlie, do you mind try dogfooding our new installation flow here? https://github.com/reasonml/ExampleProject also feel free to chat at gitter.im/facebook/reason |
Already there in the chat, just not always easy to use without a full GUI available. :-) Tried the ExampleProject, interesting errors I must say. ;-) ~/Projects/tmp/ExampleProject
$ npm install
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2: Cloning into 'C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2'...
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2: fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-npm-ml-dependency-env-git-3aee2b1b/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b' does not appear to be a git repository
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2: and the repository exists.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0: Cloning into 'C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0'...
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0: fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-yunxing-nopam-git-54296e8d/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d' does not appear to be a git repository
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0: and the repository exists.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-yunxing-nopam-git-54296e8d C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-6db82d40\6a4fa5431c86b8a000b2055b5ce5de50e76ae6a0:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397: Cloning into 'C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397'...
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397: fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-facebook-reason-git-2d5bbb66/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66' does not appear to be a git repository
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397: and the repository exists.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-facebook-reason-git-2d5bbb66 C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-a7a39989\18095b12721ed1a62767fd72026d6ca6f3263397:
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code 128
npm ERR! Command failed: git -c core.longpaths=true clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2
npm ERR! Cloning into 'C:\OCaml64\tmp\npm-25004-8ab4eb69\git-cache-c94506e6\be55b16cb3a80942e596821451e44d9500e5d1a2'...
npm ERR! fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-npm-ml-dependency-env-git-3aee2b1b/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-npm-ml-dependency-env-git-3aee2b1b' does not appear to be a git repository
npm ERR! fatal: Could not read from remote repository.
npm ERR! You want that reported to the ExampleProject repo? |
You can leave the report right here. Thanks for testing |
I have Windows 10 for development at work (Linux at home) so if you need something tested on Windows just ping me here again and I'll be happy to test. :-) |
What version of NPM are you using in Cygwin and is it a Cygwin build or the Windows one. Also same question for git. Is it ms-sys? |
Sure, information:
Versions: $ ocamlc -v
The OCaml compiler, version 4.02.3
Standard library directory: C:/Users/<user>/.opam/4.02.3+mingw64c/lib/ocaml
$ node -v
v6.2.0
$ npm -v
3.8.9
$ git --version
git version 2.8.3
# Edit: A bsc version to show it is operational from a node_modules directory install:
$ node_modules/bs-platform/bin/bsc -v
The OCaml compiler, version BuckleScript 1.0.3 (Using OCaml4.02.3 )
Standard library directory: C:\Users\<user>\Projects\upstream\bucklescript-brunch\node_modules\bs-platform\lib\ocaml |
hmm, looks to me it is an issue related npm/git on Cygwin when the dependency has a git url. I will get a windows machine to try to reproduce this. |
@OvermindDL1 you might have seen reasonml/reasonml.github.io#195 already. That one's a centralized discussion & solution for Windows. Sorry for all the trouble. |
Fwiw i spent some time a couple weeks ago to test on Cygwin and things were working for me (though I bypassed opam). |
Yep already saw and been following it, I managed to convince my work to let me switch my desktop to linux (finally!) and even started converting others now, so less of an issue. ^.^ |
Installing via
opam pin add -y reason 'https://github.com/facebook/reason.git#0.0.6'
after the prior commands were successful.Error message:
An interesting mix of "0.0.5" and "0.0.6" too I must say.
The text was updated successfully, but these errors were encountered: