Npm installation Karma reported an error (node-gyprrebuild2 > builderror.log) | | (exit0)

  node.js, question

According toKarmaThe official website instructed the installation, but reported an error.

> ws@0.4.25 install /usr/local/share/npm/lib/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
 > (node-gyp rebuild 2> builderror.log) || (exit 0)
 
 CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
 SOLINK_MODULE(target) Release/bufferutil.node
 SOLINK_MODULE(target) Release/bufferutil.node: Finished
 CXX(target) Release/obj.target/validation/src/validation.o
 SOLINK_MODULE(target) Release/validation.node
 SOLINK_MODULE(target) Release/validation.node: Finished

Does anyone know how to solve it?

Under what operating system? . . . ?