Skip to content

unable to install on Fedora 34 #651

Open
@upkarlidder

Description

@upkarlidder

Hello,
Stuck on this problem for a while now. Hoping somebody can point me in the right direction.

❯ node --version
v13.14.0
❯ npm --version
6.14.4

Error when installing appmetrics-prometheus:

❯ npm install --save appmetrics-prometheus
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported

> [email protected] install /home/upkarfedora/Documents/upkar-code/express-app/node_modules/appmetrics
> node showBuildInfo.js && node-gyp rebuild

Fri, 21 May 2021 21:35:03 GMT
********************************************************************************
You are installing the Node Application Metrics monitoring and profiling module.
Licensed under the Apache License, Version 2.0 (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
********************************************************************************


********************************************************************************
Appmetrics uses node-gyp to compile and build local binary libraries to enhance execution performance. If the following compilation and build logs contain errors, make sure you have the node-gyp pre-requisites installed (https://github.com/nodejs/node-gyp#installation). If you have them and the build still had errors, see if there are any related issues at https://github.com/RuntimeTools/appmetrics/issues). If there aren't, feel free to open a new issue to report the bug.
********************************************************************************


/home/upkarfedora/.nvm/versions/node/v13.14.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: line 5: /usr/local/lib/node_modules/node-gyp/bin/node-gyp.jsn: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] install: `node showBuildInfo.js && node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [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/upkarfedora/.npm/_logs/2021-05-21T21_35_03_734Z-debug.log

Extended logs:

4044 verbose stack Error: [email protected] install: `node showBuildInfo.js && node-gyp rebuild`
4044 verbose stack spawn ENOENT
4044 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
4044 verbose stack     at ChildProcess.emit (events.js:376:20)
4044 verbose stack     at maybeClose (internal/child_process.js:1055:16)
4044 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
4045 verbose pkgid [email protected]
4046 verbose cwd /home/upkarfedora/Documents/upkar-code/express-app
4047 verbose Linux 5.11.21-300.fc34.x86_64
4048 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--save" "appmetrics-prometheus"
4049 verbose node v14.17.0
4050 verbose npm  v6.14.13
4051 error code ELIFECYCLE
4052 error syscall spawn
4053 error file sh
4054 error errno ENOENT
4055 error [email protected] install: `node showBuildInfo.js && node-gyp rebuild`
4055 error spawn ENOENT
4056 error Failed at the [email protected] install script.
4056 error This is probably not a problem with npm. There is likely additional logging output above.
4057 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions