question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't update to 2.15.3 on Ubuntu

See original GitHub issue

Prerequisites

  • Have you checked the solutions in our troubleshooting guide for common problems ?
    • Enable Debug Messages isn’t useful in this case, is it?
  • Have you checked that your issue isn’t already filed ?
    • #2090 is very similar, but IDK if it’s the same thing due to different distro and different Atom version. By all means, close this as a duplicate if needed.

Description

Can’t update to Hydrogen 2.15.3 on Linux

Steps to Reproduce

  1. Try to update Hydrogen

Versions

OS version: Ubuntu 18.04.5 Kernel: Linux 4.15.0-142-generic Architecture: x86-64

$ atom --version
Atom    : 1.56.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1
$ apm --version
apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.56.0
python 2.7.17
git 2.17.1

Hydrogen version:

Atom says 2.14.7, but apm show hydrogen says 2.15.3.

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

  • hydrogen-python
  • Hydrogen Launcher
  • Data Explorer

Logs

Expected behavior

Update Hydrogen

Screenshots

Capture d’écran de 2021-04-17 13-45-02

Additional context

(none)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
julibegcommented, Dec 15, 2021

This looks like it has been resolved, but I get a similar error related to zeromq when trying to install Hydrogen on Manjaro (Linux 5.13.19-2-MANJARO and x86-64 architecture).

After re-installing zeromq with sudo pacman -S zeromq I ran

$ npm_config_zmq_external=true apm install hydrogen

which gave

Installing hydrogen to /home/julsy/.atom/packages ✗

> @aminya/zeromq@5.2.16 install /tmp/apm-install-dir-20211115-89062-1taj1mg.0feo/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp-build || npm run build:libzmq


> @aminya/zeromq@5.2.16 build:libzmq
> node-gyp rebuild


npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated json-parser@1.1.5: `json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
(node:89106) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.13.19-2-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-20211115-89062-1taj1mg.0feo/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.1.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok 
gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/node-gyp/lib/configure.js:353:16)
gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Linux 5.13.19-2-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-20211115-89062-1taj1mg.0feo/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.1.0
gyp ERR! node-gyp -v v8.2.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-20211115-89062-1taj1mg.0feo/package.json'
npm WARN mobx-react@6.3.1 requires a peer of react@^16.8.0 || 16.9.0-alpha.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/markdown@4.6.2 requires a peer of react@^16.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/markdown@4.6.2 requires a peer of react-dom@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/transform-vega@7.0.10 requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/outputs@3.0.11 requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-table@6.11.5 requires a peer of react@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-table@6.11.5 requires a peer of react-dom@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN react-markdown@4.3.1 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/presentational-components@3.4.12 requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN react-json-tree@0.12.1 requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-json-tree@0.12.1 requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react-lite@2.2.2 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN apm-install-dir-20211115-89062-1taj1mg.0feo No description
npm WARN apm-install-dir-20211115-89062-1taj1mg.0feo No repository field.
npm WARN apm-install-dir-20211115-89062-1taj1mg.0feo No README data
npm WARN apm-install-dir-20211115-89062-1taj1mg.0feo No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @aminya/zeromq@5.2.16 install: `node-gyp-build || npm run build:libzmq`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @aminya/zeromq@5.2.16 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/julsy/.atom/.apm/_logs/2021-12-15T08_32_41_497Z-debug.log


The complete log is here: hydrogen-error.log

atom --version returns

Atom    : 1.58.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

and apm --version

apm  2.6.4
npm  6.14.9
node 17.1.0 x64
atom 1.58.0
python 3.9.7
git 2.34.1

I’m not really a JS aficionado. Any idea on how I can fix this?

1reaction
aminyacommented, Apr 18, 2021

@n-riesco Could you remove hydrogen, and then clone the master branch, and try to run the tests?

git clone https://github.com/nteract/hydrogen.git
cd hydrogen
apm install --verbose
npm run build
npm run test

I think this time the source build passes, but still, it doesn’t find the correct prebuilds?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[R] R broken after upgrade to 2.15.3 (Ubuntu 12.10, 64bit)
This morning, Ubuntu's software > updater automatically installed updates to R's base system (version 2.15.3; > via the CRAN PPA).
Read more >
Can't install package reshape2 for R 2.15.3 on Ubuntu 12.04.4
I am having trouble installing the reshape2 package for R 2.15.3 on Ubuntu 12.04.4 LTS. I decided not to upgrade to R 3.x...
Read more >
Installation Manual for 2.15 on Ubuntu 18.04 - WeBWorK
These instructions cover the installation of the Ubuntu Linux 18.04 LTS operating system and WeBWorK 2.15 from scratch.
Read more >
Hey! I'm new to hydrogen! I can not update #2085 - GitHub
Same for me. I am running Debian 10. Tried to downgrade Atom to 1.54.0 and use Hydrogen 2.14.6 as proposed in #2079 and...
Read more >
R 2.15.3 .deb packages now available for Ubuntu
The latest version of R (2.15.3) is now available for Ubuntu. You can find the packages on CRAN or via my Launchpad PPA....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found