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

Installing “[email protected]” failed. #135

Closed
msutter opened this issue Nov 4, 2014 · 10 comments
Closed

Installing “[email protected]” failed. #135

msutter opened this issue Nov 4, 2014 · 10 comments
Assignees

Comments

@msutter
Copy link

msutter commented Nov 4, 2014

Hi,

Installing atom-beautify outputs a SSL cert error by cloning Coffee-Formatter.

However, mannually cloning Coffee-Formatte is working fine:
--> git clone https://github.com/Glavin001/Coffee-Formatter.git
Cloning into 'Coffee-Formatter'...
remote: Counting objects: 153, done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 153 (delta 70), reused 153 (delta 70)
Receiving objects: 100% (153/153), 441.23 KiB | 344.00 KiB/s, done.
Resolving deltas: 100% (70/70), done.
Checking connectivity... done.

os: osx 10.8
-> apm install atom-beautify
Installing atom-beautify to /Users/tgdsuma5/.atom/packages ✗

npm http GET https://registry.npmjs.org/js-beautify
npm http GET https://registry.npmjs.org/lodash/2.4.1
npm http GET https://registry.npmjs.org/strip-json-comments
npm http GET https://registry.npmjs.org/js-yaml
npm http GET https://registry.npmjs.org/temp
npm http GET https://registry.npmjs.org/prettydiff
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/analytics-node
npm http GET https://registry.npmjs.org/atom-message-panel
npm http GET https://registry.npmjs.org/editorconfig
npm http GET https://registry.npmjs.org/loophole
npm http GET https://registry.npmjs.org/typescript-formatter
npm http GET https://registry.npmjs.org/emissary
npm http GET https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/js-yaml
npm http 304 https://registry.npmjs.org/strip-json-comments
npm http 304 https://registry.npmjs.org/temp
npm ERR! git fetch -a origin (https://github.com/Glavin001/Coffee-Formatter.git) fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': SSL certificate problem: unable to get local issuer certificate
npm ERR! Error: Command failed: fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': SSL certificate problem: unable to get local issuer certificate
npm ERR!
npm ERR! at ChildProcess.exithandler (child_process.js:648:15)
npm ERR! at ChildProcess.emit (events.js:98:17)
npm ERR! at maybeClose (child_process.js:756:16)
npm ERR! at Socket. (child_process.js:969:11)
npm ERR! at Socket.emit (events.js:95:17)
npm ERR! at Pipe.close (net.js:465:12)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Darwin 12.5.0
npm ERR! command "/Users/tgdsuma5/Documents/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Users/tgdsuma5/Documents/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/tgdsuma5/Documents/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/Users/tgdsuma5/.atom/.apmrc" "install" "/Users/tgdsuma5/.atom/.node-gyp/.atom/.apm/atom-beautify/0.15.1/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /private/var/folders/nd/0yz0brkx4z1_1wh0g7qnnxm40000gn/T/apm-install-dir-114104-55177-1agta43
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.4
npm ERR! code 128
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/prettydiff
npm http 304 https://registry.npmjs.org/analytics-node
npm http 304 https://registry.npmjs.org/lodash/2.4.1
npm http 304 https://registry.npmjs.org/atom-message-panel
npm http 304 https://registry.npmjs.org/typescript-formatter
npm http 304 https://registry.npmjs.org/editorconfig
npm http 304 https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/emissary
npm http 304 https://registry.npmjs.org/loophole
npm http 304 https://registry.npmjs.org/js-beautify
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/nd/0yz0brkx4z1_1wh0g7qnnxm40000gn/T/apm-install-dir-114104-55177-1agta43/npm-debug.log
npm ERR! not ok code 0

@msutter
Copy link
Author

msutter commented Nov 4, 2014

atom versions:

$ atom -v
0.141.0
$ apm -v
apm 0.109.0
npm 1.4.4
node 0.10.32
python 2.7.2
git 1.8.5.3

@Glavin001 Glavin001 self-assigned this Nov 4, 2014
@Glavin001
Copy link
Owner

Duplicate of #133 and #117. This is an issue with being behind a proxy and apm. There is nothing I can do from an Atom Beautify perspective.
See atom/atom#2268 (comment) and #133 (comment)

Hope this helps. Let us know what solves it for you.

@msutter
Copy link
Author

msutter commented Nov 4, 2014

Hi Glavin,

Thanks for the rapid feedback.
However, I'm absolutely not sitting behind a web proxy of any kind.

#133 has following errors:
npm ERR! git fetch -a origin (https://github.com/Glavin001/Coffee-Formatter.git) fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': Failed connect to github.com:443; No error
npm ERR! Error: Command failed: fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': Failed connect to github.com:443; No error

#117 has also "Failed connect to github.com:443"

but I have:
npm ERR! Error: Command failed: fatal: unable to access 'https://github.com/Glavin001/Coffee-Formatter.git/': SSL certificate problem: unable to get local issuer certificate

Not really the same issue

Cheers
Marc

@Glavin001
Copy link
Owner

This is strange. Thanks for pointing out the difference @msutter. There have been too many issues related to the Coffee-Formatter dependency. I think publishing it to NPM will resolve this.

Once Coffee-Formatter has been published to NPM:

@Glavin001
Copy link
Owner

Update: Waiting on having the original project published to npm instead of my fork (which really has no changes): derekchiang/Coffee-Formatter#6

@ericrange
Copy link

i think i know why this is failing... im behind a proxy and if any dependency is NOT a npm package, the installation will fail, e.g. git:// ... => shit!!

@ericrange
Copy link

for me, the installtion breaks at "git://github.com/ariya/esprima.git"... as i said, because of the "git://"...

@Glavin001
Copy link
Owner

The original author did not reply to my request for him to publish the project to npm, so I just published it myself: https://www.npmjs.com/package/coffee-formatter

I am going to fix this now. Thanks everyone for being patient.

@Glavin001
Copy link
Owner

Published to v0.17.2

@ericrange
Copy link

ok the next packages which breaks the installation is git://github.com/ariya/esprima.git.
could you npm-fying this also? :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants