-
Notifications
You must be signed in to change notification settings - Fork 16
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
Failing npm install
on Windows 10
#43
Comments
Thank you for testing. We need someone to own the windows integration. |
I'm not super knowledgeable in npm but if there is anything you need me to test or so, just say. :-) |
I've managed to get further: $ npm install --save-dev reasonml/rebel
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: Cloning into 'C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a'...
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-github-com-reasonml-rebel-git-bf9d10e1/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1' does not appear to be a git repository
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: and the repository exists.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-bf9d10e1 C:\OCaml64\tmp\npm-17052-19529301\git-cache-613f58b5\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: Cloning into 'C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a'...
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: fatal: '/cygdrive/c/Users/<user>/AppData/Roaming/npm-cache/_git-remotes/git-https-github-com-reasonml-rebel-git-a4cba107/C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107' 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-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a:
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: 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-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a: and the repository exists.
npm ERR! git clone C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-https-github-com-reasonml-rebel-git-a4cba107 C:\OCaml64\tmp\npm-17052-19529301\git-cache-dd412b23\65dfda952eaa2b2c32b5f7252c75d5d0e11c170a:
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf: Cloning into bare repository 'C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf'...
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf: Permission denied (publickey).
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf: fatal: Could not read from remote repository.
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf:
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf: Please make sure you have the correct access rights
npm ERR! git clone --template=C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror [email protected]:reasonml/rebel.git C:\Users\<user>\AppData\Roaming\npm-cache\_git-remotes\git-github-com-reasonml-rebel-git-f009c2bf: and the repository exists.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save-dev" "reasonml/rebel"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code 128 It's acting like it is trying to clone via a |
Npm supports git URLs though which is what reasonml/rebel represents. There's an NPM log file that it spits out with more details in your directory. |
Full log follows:
I've been looking at it more for a while here and as far as I can tell it is an npm bug (blegh) because it is not sanitizing the git paths properly (not rebel's fault, this is within npm's own code, and still bugged on their github too). I managed to work around it by altering their The gist of the above gist though is:
Which is of course the original issue. Maybe not build ocaml internally and use the system installed one instead if it exists? :-) |
I just tried installing the RebelExampleProject and get the following error:
I have msys2 installed, maybe I get further because of it, but the shell script Using the linux subystem for windows I get the following error:
|
@maun Hey, looks like you are using an very outdated version of npm. Can you update to npm@3 and try again? |
@vramana
and in the linux subsystem only this old version was included, after installing a recent one and the m4 package
|
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 Edit: Oups, posted this on the wrong issue, not really related to rebel |
I think this may be fixed now that we have fixed FastRealPath on linux. |
Currently the build on a Windows build server is failing with:
It looks like an npm ocaml package does not support Windows and an alternative needs to be supplied.
The text was updated successfully, but these errors were encountered: