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

npm WARN deprecated [email protected] #2151

Open
benoitseron opened this issue Apr 2, 2022 · 2 comments
Open

npm WARN deprecated [email protected] #2151

benoitseron opened this issue Apr 2, 2022 · 2 comments

Comments

@benoitseron
Copy link

benoitseron commented Apr 2, 2022

I'm trying to install Hydrogen but encounter the following

> @aminya/[email protected] install /tmp/apm-install-dir-202232-11380-pdca51.vct18/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp-build || npm run build:libzmq


> @aminya/[email protected] build:libzmq
> node-gyp rebuild

npm WARN deprecated [email protected]: 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 [email protected]: `json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
(node:11418) [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:527:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.16.16-zen1-1-zen
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-202232-11380-pdca51.vct18/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.8.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/npm/node_modules/node-gyp/lib/configure.js:261:16)
gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.16.16-zen1-1-zen
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-202232-11380-pdca51.vct18/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.8.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-202232-11380-pdca51.vct18/package.json'
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react-dom@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] 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 [email protected] requires a peer of react@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN apm-install-dir-202232-11380-pdca51.vct18 No description
npm WARN apm-install-dir-202232-11380-pdca51.vct18 No repository field.
npm WARN apm-install-dir-202232-11380-pdca51.vct18 No README data
npm WARN apm-install-dir-202232-11380-pdca51.vct18 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @aminya/[email protected] install: `node-gyp-build || npm run build:libzmq`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @aminya/[email protected] 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/benoitseron/.atom/.apm/_logs/2022-04-02T11_28_18_659Z-debug.log

however, I ran the command I could find to update uuid but it seems to already be up to date

npm install uuid@latest

up to date, audited 2 packages in 583ms

found 0 vulnerabilities

I am using Garuda linux and made the install a few days ago. Any help would be greatly appreciated!

@EKYS12
Copy link

EKYS12 commented Apr 14, 2022

I encounter the same/similar error.

> @aminya/[email protected] install /tmp/apm-install-dir-2022313-7614-88yc1q.tkpoc/node_modules/Hydrogen/node_modules/@aminya/zeromq
> node-gyp-build || npm run build:libzmq


> @aminya/[email protected] build:libzmq
> node-gyp rebuild


npm WARN deprecated [email protected]: 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 [email protected]: `json-parser` is deprecated. Please use `comment-json` instead
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
(node:7691) [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:527:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.28-1-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-2022313-7614-88yc1q.tkpoc/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.7.1
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/npm/node_modules/node-gyp/lib/configure.js:261:16)
gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.28-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2022313-7614-88yc1q.tkpoc/node_modules/Hydrogen/node_modules/@aminya/zeromq
gyp ERR! node -v v17.7.1
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2022313-7614-88yc1q.tkpoc/package.json'
npm WARN @nteract/[email protected] requires a peer of react@^16.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react-dom@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] 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 [email protected] requires a peer of react@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^16.x.x but none is installed. You must install peer dependencies yourself.
npm WARN @nteract/[email protected] requires a peer of react@^16.3.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN apm-install-dir-2022313-7614-88yc1q.tkpoc No description
npm WARN apm-install-dir-2022313-7614-88yc1q.tkpoc No repository field.
npm WARN apm-install-dir-2022313-7614-88yc1q.tkpoc No README data
npm WARN apm-install-dir-2022313-7614-88yc1q.tkpoc No license field.

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

I have also installed the latest uuid package with

to force it to the latest one, which I know to be the case because of this output

npm list
syasser126@ /home/syasser126
└── [email protected]

yet my error still says [email protected] and to upgrade to version 7 or higher.

I am on a Manjaro KDE linux install.

@EKYS12
Copy link

EKYS12 commented Apr 14, 2022

After further scrolling I see that this issue has also already been posted here

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

No branches or pull requests

2 participants