node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

errno 7

Open Priyanshi-Premkumar opened this issue 3 years ago • 8 comments

npm ERR! code ELIFECYCLE npm ERR! errno 7 npm ERR! [email protected] install: prebuild-install || node-gyp rebuild npm ERR! Exit status 7 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.

Priyanshi-Premkumar avatar Jul 05 '22 14:07 Priyanshi-Premkumar

Please provide the command that was typed and the FULL error log.

The current release is v4.0.6 https://www.npmjs.com/package/bufferutil v3.0.5 was released in 2018.

cclauss avatar Jul 05 '22 15:07 cclauss

I'm getting this for npm install.

Priyanshi-Premkumar avatar Jul 05 '22 16:07 Priyanshi-Premkumar

image

Priyanshi-Premkumar avatar Jul 05 '22 16:07 Priyanshi-Premkumar

image

Priyanshi-Premkumar avatar Jul 05 '22 16:07 Priyanshi-Premkumar

these are errors I'm facing

Priyanshi-Premkumar avatar Jul 05 '22 16:07 Priyanshi-Premkumar

Please look thru your error log for the string gyp info using node-gyp@ and if the version number is less than the current release of node-gyp then please upgrade using the instructions at https://github.com/nodejs/node-gyp/blob/master/docs/Updating-npm-bundled-node-gyp.md and try your command again.

cclauss avatar Jul 05 '22 16:07 cclauss

I was getting the same error as Priyanshi. After upgrading node-gyp to 9.1.0 Now I'm getting this error. image

DylanL826 avatar Aug 12 '22 22:08 DylanL826

@DylanL826 Please upgrade bufferutil as mentioned above. https://github.com/nodejs/node-gyp/issues/2694#issuecomment-1175180929

Also, upgrade Node.js to a supported version. https://nodejs.org/en/about/releases

cclauss avatar Aug 13 '22 04:08 cclauss