Comments (12)
SSL Issue confirmed. Pasteog below. This was via gui and apm.
Installing '[email protected]' failed. Less…
npm http GET https://registry.npmjs.org/firebase
npm http GET https://registry.npmjs.org/firebase
npm http GET https://registry.npmjs.org/firebase
npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at TLSSocket.<anonymous> (_tls_wrap.js:777:36)
npm ERR! at TLSSocket.EventEmitter.emit (events.js:98:17)
npm ERR! at TLSSocket._finishInit (_tls_wrap.js:337:8)
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/isaacs/npm/issues>
npm ERR! System Darwin 13.0.0
npm ERR! command "/Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper" "/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/node_modules/atom-package-manager/.apmrc" "install" "/var/folders/jr/3zpjt08j4t1bcwmg14y0d_bm0000gn/T/d-114128-50119-pny89f/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/var/folders/jr/3zpjt08j4t1bcwmg14y0d_bm0000gn/T/apm-install-dir-114128-50119-r8wu56
npm ERR! node -v v0.11.10
npm ERR! npm -v 1.3.18
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/var/folders/jr/3zpjt08j4t1bcwmg14y0d_bm0000gn/T/apm-install-dir-114128-50119-r8wu56/npm-debug.log
npm ERR! not ok code 0
from atom-firepad.
Edited to correct new npm policies which disallow self signed certificates:
http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
from atom-firepad.
I tried the strict-ssl workaround, but it didn't work for me unfortunately. Thanks for the suggestion.
npm http GET https://registry.npmjs.org/firebase
npm http GET https://registry.npmjs.org/firebase
npm http GET https://registry.npmjs.org/firebase
npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at SecurePair.<anonymous> (tls.js:1370:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:982:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:469:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:226:10)
npm ERR! at writeOrBuffer (_stream_writable.js:216:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:183:11)
npm ERR! at write (_stream_readable.js:583:24)
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/isaacs/npm/issues>
npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--userconfig" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc" "install" "/Users/shanejordan/.atom/.node-gyp/.atom/.apm/firepad/0.3.1/package.tgz" "--target=0.11.10" "--arch=x64"
npm ERR! cwd /private/tmp/apm-install-dir-114128-8188-bbnrgk
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.3.18
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /private/tmp/apm-install-dir-114128-8188-bbnrgk/npm-debug.log
npm ERR! not ok code 0
from atom-firepad.
Do not do this unless you understand what you are doing please.
Atom seems to be using its own npm --userconfig at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/.apmrc as per the error msg.
simply editing this file to include those options allowed me to install it. Please dont forget to remove them immediately after. ;)
strict-ssl = false
ca =
registry = http://registry.npmjs.org/
from atom-firepad.
A better way is to update to the latest version of node (v10.26) by simply reinstalling it from the node.js website. There were some changes in the package manager site that cause the SELF_SIGNED_CERT error that are fixed in v10.26.
Make sure to update all your global packages after you do this as follows:
sudo npm cache clean -f
sudo npm update -g
HOWEVER, I'm still getting the second part of the error that you are seeing:
Macintosh:~ gerry$ apm install firepad
Installing firepad to /Users/gerry/.atom/packages
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.11.10/node-v0.11.10.tar.gz
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: EPERM, utime '/Users/gerry/.atom/.node-gyp/.node-gyp/0.11.10'
gyp ERR! System Darwin 13.1.0
gyp ERR! command "/usr/local/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.11.10" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=x64"
gyp ERR! cwd /Users/gerry/.atom
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.10.10
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR! <https://github.com/TooTallNate/node-gyp/issues>
Any ideas?
from atom-firepad.
Hmm, weird in #1 we were able to fix this issue by installing directly from apm. Another workaround is to go to ~/.atom/packages/firepad and run npm install
manually after first running apm install firepad
.
from atom-firepad.
Looks like an issue with Atom/npm: http://discuss.atom.io/t/apm-npm-issue-installing-packages/1715
The workaround in the meantime:
cd ~/.atom/packages/
git clone [email protected]:firebase/atom-firepad.git firepad
cd firepad
npm install
from atom-firepad.
@gerrymiller I don't see how updating node fixed the first error, because atom actually uses node v0.11.11
@anantn running npm install
manually from within ~/.atom/packages/firepad doesn't work for me since apm never even creates the /firepad dir.
Thanks for finding that npm config file @michaelfavia, worked for me. Not an ideal fix though :/
Oh yeah, and thanks for creating this package!
from atom-firepad.
Thank you @Jonahss, that worked. Unsure why (or even if) updating node "fixed" the CERT issue, as it seems to happen intermittently. But the local npm install worked, so thanks!
from atom-firepad.
http://discuss.atom.io/t/unable-to-update-emmet-due-to-self-signed-certificate/1717/4
They're updating atom to 0.62.0 and fixing this.
from atom-firepad.
I still got this error in 0.65.0 and I tried everything. I just cant install firepad. got exactly the same error as jordan.
from atom-firepad.
@ettisberger You can use the workaround in this comment #2 (comment) to install the plugin manually.
from atom-firepad.
Related Issues (20)
- Uncaught TypeError: Cannot read property 'dispose' of undefined HOT 1
- Deprecated Atom APIs will be removed June 1st HOT 1
- Firebase URL should be customizable HOT 3
- Add proxy support HOT 1
- Add Cursor HOT 1
- Can't "unshare" unless I close tab/pane HOT 1
- Auto Share HOT 2
- Experience with a lot of users HOT 2
- Add users list HOT 1
- Read only mode
- Uncaught Error: sendOperation() called with invalid operation. HOT 2
- Command won't appear in command search box
- Uncaught TypeError: this.buffer.off is not a function
- The atom command panel does not detect firepad HOT 2
- "No session key set" pop up when I doing the search
- Uncaught TypeError: Cannot read property 'row' of undefined
- How does this package use firepad lib? HOT 2
- Shared key does not appear HOT 2
- String cannot be created
- "Firebase: Share" command does not work. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-firepad.