theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 310 forks source link

npm installation error #63

Closed johnnyfreeman closed 11 years ago

johnnyfreeman commented 11 years ago

npm install intern errors out every time.

227 warn `git config --get remote.origin.url` returned wrong result (https://github.com/csnover/dojo2-core.git)
228 error git clone https://github.com/csnover/dojo2-core.git Cloning into bare repository 'C:\Users\jfreeman\AppData\Roaming\npm-cache\_git-remotes\https-github-com-csnover-dojo2-core-git-b4e5b8be'...
228 error git clone https://github.com/csnover/dojo2-core.git
228 error git clone https://github.com/csnover/dojo2-core.git warning: templates not found /share/git-core/templates
228 error git clone https://github.com/csnover/dojo2-core.git fatal: Unable to find remote helper for 'https'
229 silly lockFile b4e5b8be-ithub-com-csnover-dojo2-core-git https://github.com/csnover/dojo2-core.git
230 verbose about to build C:\xampp\htdocs\foo\node_modules\intern
231 info C:\xampp\htdocs\foo\node_modules\intern unbuild
232 verbose from cache C:\xampp\htdocs\foo\node_modules\intern\package.json
233 info preuninstall intern@1.1.0
234 info uninstall intern@1.1.0
235 verbose true,C:\xampp\htdocs\foo\node_modules,C:\xampp\htdocs\foo\node_modules unbuild intern@1.1.0
236 info postuninstall intern@1.1.0
237 error Error: Command failed: warning: templates not found /share/git-core/templates
237 error fatal: Unable to find remote helper for 'https'
237 error
237 error     at ChildProcess.exithandler (child_process.js:637:15)
237 error     at ChildProcess.EventEmitter.emit (events.js:98:17)
237 error     at maybeClose (child_process.js:735:16)
237 error     at Process.ChildProcess._handle.onexit (child_process.js:802:5)
238 error If you need help, you may report this log at:
238 error     <http://github.com/isaacs/npm/issues>
238 error or email it to:
238 error     <npm-@googlegroups.com>
239 error System Windows_NT 6.2.9200
240 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "intern"
241 error cwd C:\xampp\htdocs\foo
242 error node -v v0.10.10
243 error npm -v 1.2.25
244 error code 128
245 verbose exit [ 1, true ]
csnover commented 11 years ago

You must have git. warning: templates not found /share/git-core/templates indicates that there is an installation issue.

johnnyfreeman commented 11 years ago

You must have git.

I have git. I use it everyday without issue.

The problem seems to something to do with cloning csnover/cloning dojo2-core.git. The error you're referring to comes after the 2 other errors messages that happen before that ...

npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/csnover/dojo2-core.git)
npm ERR! git clone https://github.com/csnover/dojo2-core.git Cloning into bare repository 'C:\Users\someone\AppData\Roaming\npm-cache\_git-remotes\https-github-com-csnover-dojo2-core-git-b4e5b8be'...
npm ERR! git clone https://github.com/csnover/dojo2-core.git

I was able to separately clone the dojo2-core repo so that rules out my git clone being broken.

csnover commented 11 years ago

The bug tracker is not a support system. Please use the available support channels to receive support. Thanks!

johnnyfreeman commented 11 years ago

The first few things resolve just fine...

npm http GET https://registry.npmjs.org/intern/1.1.0
npm http 200 https://registry.npmjs.org/intern/1.1.0
npm http GET https://registry.npmjs.org/intern/-/intern-1.1.0.tgz
npm http 200 https://registry.npmjs.org/intern/-/intern-1.1.0.tgz
npm WARN package.json intern@1.1.0 No repository field.
npm http GET https://registry.npmjs.org/wd/0.0.32
npm http GET https://registry.npmjs.org/istanbul/0.1.35
npm http GET https://registry.npmjs.org/sauce-connect-launcher/0.1.4
npm http GET https://registry.npmjs.org/chai/1.5.0
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/csnover/dojo2-core.git)
npm ERR! git clone https://github.com/csnover/dojo2-core.git Cloning into bare repository 'C:\Users\jfreeman\AppData\Roaming\npm-cache\_git-remotes\https-github-com-csnover-dojo2-core-git-b4e5b8be'...

npm ERR! git clone https://github.com/csnover/dojo2-core.git
npm ERR! git clone https://github.com/csnover/dojo2-core.git warning: templates not found /share/git-core/templates
npm ERR! git clone https://github.com/csnover/dojo2-core.git fatal: Unable to find remote helper for 'https'
npm ERR! Error: Command failed: warning: templates not found /share/git-core/templates
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:637:15)
npm ERR!     at ChildProcess.EventEmitter.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:735:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:802:5)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\xampp\htdocs\foo
npm ERR! node -v v0.10.10
npm ERR! npm -v 1.2.25
npm ERR! code 128
npm http 304 https://registry.npmjs.org/chai/1.5.0
npm http 304 https://registry.npmjs.org/istanbul/0.1.35
npm http 304 https://registry.npmjs.org/sauce-connect-launcher/0.1.4
npm http 304 https://registry.npmjs.org/wd/0.0.32
npm WARN package.json istanbul@0.1.35 No repository field.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\xampp\htdocs\foo\npm-debug.log
npm ERR! not ok code 0
C:\xampp\htdocs\foo [master +0 ~1 -0]> npm install intern
npm http GET https://registry.npmjs.org/intern
npm http 304 https://registry.npmjs.org/intern
npm WARN package.json intern@1.1.0 No repository field.
npm http GET https://registry.npmjs.org/wd/0.0.32
npm http GET https://registry.npmjs.org/istanbul/0.1.35
npm http GET https://registry.npmjs.org/chai/1.5.0
npm http GET https://registry.npmjs.org/sauce-connect-launcher/0.1.4
npm WARN `git config --get remote.origin.url` returned wrong result (https://github.com/csnover/dojo2-core.git)
npm ERR! git clone https://github.com/csnover/dojo2-core.git Cloning into bare repository 'C:\Users\jfreeman\AppData\Roaming\npm-cache\_git-remotes\https-github-com-csnover-dojo2-core-git-b4e5b8be'...

npm ERR! git clone https://github.com/csnover/dojo2-core.git
npm ERR! git clone https://github.com/csnover/dojo2-core.git warning: templates not found /share/git-core/templates
npm ERR! git clone https://github.com/csnover/dojo2-core.git fatal: Unable to find remote helper for 'https'
npm ERR! Error: Command failed: warning: templates not found /share/git-core/templates
npm ERR! fatal: Unable to find remote helper for 'https'
npm ERR!
npm ERR!     at ChildProcess.exithandler (child_process.js:637:15)
npm ERR!     at ChildProcess.EventEmitter.emit (events.js:98:17)
npm ERR!     at maybeClose (child_process.js:735:16)
npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:802:5)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "intern"
npm ERR! cwd C:\xampp\htdocs\foo
npm ERR! node -v v0.10.10
npm ERR! npm -v 1.2.25
npm ERR! code 128
npm http 304 https://registry.npmjs.org/wd/0.0.32
npm http 304 https://registry.npmjs.org/sauce-connect-launcher/0.1.4
npm http 304 https://registry.npmjs.org/istanbul/0.1.35
npm http 304 https://registry.npmjs.org/chai/1.5.0
npm WARN package.json istanbul@0.1.35 No repository field.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\xampp\htdocs\foo\npm-debug.log
npm ERR! not ok code 0
johnnyfreeman commented 11 years ago

The bug tracker is not a support system. Please use the available support channels to receive support.

Wow. I'm in utter disbelief that I've filled an issue on the issue tracker and I'm told to go ask the community or to buy commercial support. It's not as if I'm having trouble customizing it in some way. I can't even get it installed.

If this did not work, nobody would have ever been able to install.

True. But I never said it didn't work for everyone. It is possible to work on some platforms and not on others.

So, I think I already know where this is going, but I think you should reconsider your support strategy (or lack thereof).

csnover commented 11 years ago

If everyone asks for support on the bug tracker then it becomes useless for tracking issues, so we have to be strict about making sure only legitimate bugs within Intern itself are kept open here. The paste you provided shows fairly clearly that the problem lies in your git/npm installation, and it even tells you exactly where you should submit your request for help: http://github.com/isaacs/npm/issues. Nevertheless, we are more than happy to provide support if you ask for it through one of the appropriate channels. This is not one of them.