ATOM Update vs Upadate Hydrogen


#1

When performing the Atom update, I received the alert that I had to use the hydrogen package.
I did it manually:
C:\Users\hermesr.atom\packages>git clone https://github.com/nteract/hydrogen.git
C:\Users\hermesr.atom\packages\hydrogen>npm install
during the installation of hydrogen I have this alert

     run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\hermesr\.atom\packages\hydrogen>npm audit fix
npm WARN react-rangeslider@2.2.0 requires a peer of react@^0.14.0 || ^15.0.0 but
 none is installed. **_You must install peer dependencies yourself._**

up to date in 3.145s
fixed 0 of 3 vulnerabilities in 2804 scanned packages
  1 **_vulnerability required manual review and could not be updated_**
  1 package update for 2 vulns involved breaking changes
  (use `npm audit fix --force` to install breaking changes; or refer to `npm aud
it` for steps to fix these manually)

C:\Users\hermesr\.atom\packages\hydrogen>npm audit fix --force
npm WARN using --force I sure hope you know what you are doing.
npm WARN react-rangeslider@2.2.0 requires a peer of react@^0.14.0 || ^15.0.0 but
 none is installed. **_You must install peer dependencies yourself._**

+ @jupyterlab/services@3.2.1
updated 6 packages in 10.795s
fixed 2 of 3 vulnerabilities in 2804 scanned packages
  1 vulnerability required manual review and could not be updated
  1 package update for 2 vulns involved breaking changes
  (installed due to `--force` option)

C:\Users\hermesr\.atom\packages\hydrogen>

Which package should I install manually?

How to proceed?


#2

Wait a second, let’s start at the beginning.

The normal way of installing Atom for Windows includes an automatic update system, so it’s unusual that you were performing an update of Atom. Atom is not going to tell you to use any specific package, so it would be helpful if you shared a screenshot of this alert so that we could have a better understanding of where you’re coming from.

I did it manually

Why?

Which package should I install manually?

I don’t know why you should install any package manually, unless you’re writing code for it.


#3
  1. Atom warns of a new update. He did it, the update, and then reset the program. When opening again, I receive the alert mentioned above

  2. The firewall and a corporate server does not allow me to use the Atom installer. However I manage to install with the following lines:

     C:\Users\hermesr>cd .atom
     C:\Users\hermesr\.atom>cd packages
     git clone https://github.com/JunoLab/Packagename.git
     C:\Users\hermesr\.atom\packages>cd Packagename
     C:\Users\hermesr\.atom\packages\Packagename>apm install
    

in this way I have managed to install some packages and run codes of Julia and R.


#4

How did Atom warn you?

The firewall and a corporate server does not allow me to use the Atom installer.

That makes sense (and is the sort of information that you should disclose at the beginning of the thread so that the rest of us know the ways in which your experience is unique).


#5

I can not install hydrogen,

C:\Users\hermesr.atom\packages>git clone https://github.com/nteract/hydrogen.gi
t
Cloning into ‘hydrogen’…
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 7373 (delta 11), reused 12 (delta 5), pack-reused 7344
Receiving objects: 100% (7373/7373), 1.53 MiB | 313.00 KiB/s, done.
Resolving deltas: 100% (4915/4915), done.
Checking out files: 100% (95/95), done.

C:\Users\hermesr.atom\packages>cd hydrogen

C:\Users\hermesr.atom\packages\hydrogen>apm install
Installing modules failed
npm WARN deprecated ejs@1.0.0: Critical security bugs fixed in 2.5.5
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to “coff
eescript” (no hyphen)
npm WARN deprecated nomnom@1.6.2: Package no longer supported. Contact support@n
pmjs.com for more info.
npm ERR! Unexpected end of JSON input while parsing near ‘…false,“directories”
:{’

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hermesr.atom.apm_logs\2018-12-03T05_36_52_921Z-debug.lo
g


#6

[Enter steps to reproduce:]

Atom: 1.33.0 ia32
Electron: 2.0.11
OS: Microsoft Windows 7 Enterprise
Thrown From: Hydrogen package 2.6.0

Stack Trace

Uncaught Error: The system cannot find message text for message number 0x%1 in the message file for %2.
\?\C:\Users\hermesr.atom\packages\hydrogen\node_modules\zeromq\build\Release\zmq.node

At ELECTRON_ASAR.js:166

Error: The system cannot find message text for message number 0x%1 in the message file for %2.
\\?\C:\Users\hermesr\.atom\packages\hydrogen\node_modules\zeromq\build\Release\zmq.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
    at Object.Module._extensions..node (module.js:671:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:145974)
    at /packages/hydrogen/node_modules/zeromq/lib/index.js:6:11)
    at /packages/hydrogen/node_modules/zeromq/lib/index.js:857:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:146684)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:150231)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:145974)
    at /packages/hydrogen/node_modules/zeromq/index.js:2:18)
    at /packages/hydrogen/node_modules/zeromq/index.js:3:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:146684)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:150231)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:504:12)
    at Function.Module._load (module.js:496:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:145974)
    at /packages/hydrogen/node_modules/jmp/index.js:37:11)
    at /packages/hydrogen/node_modules/jmp/index.js:450:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:146684)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:150231)

Commands

Non-Core Packages

ink 0.9.12 
julia-client 0.7.10 
language-julia 0.18.0 
busy-signal 1.4.3 
Hydrogen 2.6.0 
latex-completions 0.3.6 
package-sync 1.1.0 
rbox 0.5.0 
tool-bar 1.1.11 
uber-juno 0.2.0 

#7

What does C:\Users\hermesr\.atom\.apm_logs\2018-12-03T05_36_52_921Z-debug.log say?


#8

It is the error report created by Atom. It’s very big and I do not know how to put it here


#9

There are many web sites where you can copy and paste error logs, such as Hastebin (what I usually use). Just save something on there and you’ll get a link that you can share.