Merged
Conversation
Contributor
Author
Contributor
Author
|
Ha!!
|
12ae906 to
ffb9175
Compare
mvidner
commented
Dec 16, 2022
|
|
||
| sudo zypper --non-interactive install gcc gcc-c++ make openssl-devel ruby-devel \ | ||
| npm git augeas-devel cockpit jemalloc-devel || exit 1 | ||
| 'npm>=18' git augeas-devel cockpit jemalloc-devel || exit 1 |
Contributor
Author
There was a problem hiding this comment.
$ rpm -q --provides npm19
...
nodejs-npm = 19.1.0
npm = 19.1.0 # match here
npm(npm) = 8.19.3
npm19 = 19.1.0-1.1
npm19(x86-64) = 19.1.0-1.1We spent some hours debugging a problem where the web frontend was not updated because the machine had NPM 17 which is no longer enough: For example a recent babel-jest wants node 18 (or specific 16 or 14) https://github.com/facebook/jest/blob/41bf2300895a2c00d0525d21260f0a392819871f/packages/babel-jest/package.json#L38 https://docs.npmjs.com/cli/v6/configuring-npm/package-json#config
ffb9175 to
9450ff3
Compare
dgdavid
approved these changes
Dec 17, 2022
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
We spent some hours debugging a problem where the web frontend was not updated because the machine had NPM 17 which is no longer enough
Solution
Tell zypper, and npm, to install v 18 at least
Testing
./setup.shwith