L
L
ludr2015-08-26 00:41:21
Node.js
ludr, 2015-08-26 00:41:21

How to fix errors while installing webpack-dev-server?

OS Korora 22 (read Fedora 22),
nodejs 0.12 (0.10 also tried) installed with nvm,
GCC - yes,
python 2.7 - yes,
make - yes.
At installation four times "stumbles". Dear nodejs gurus please help.

$ npm install webpack-dev-server -g
npm WARN peerDependencies The peer dependency [email protected]^1.3.0 included from webpack-dev-server will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency [email protected]^1.0.0 included from webpack-dev-middleware will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
 
> [email protected] install /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: вход в каталог «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build»
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
make: g++: Команда не найдена
bufferutil.target.mk:90: ошибка выполнения рецепта для цели «Release/obj.target/bufferutil/src/bufferutil.o»
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 127
make: выход из каталога «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 4.1.5-200.fc22.x86_64
gyp ERR! command "node" "/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
 
> [email protected] install /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: вход в каталог «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build»
  CXX(target) Release/obj.target/validation/src/validation.o
make: g++: Команда не найдена
validation.target.mk:90: ошибка выполнения рецепта для цели «Release/obj.target/validation/src/validation.o»
make: *** [Release/obj.target/validation/src/validation.o] Ошибка 127
make: выход из каталога «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 4.1.5-200.fc22.x86_64
gyp ERR! command "node" "/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]
 
> [email protected] install /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make: вход в каталог «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build»
  CXX(target) Release/obj.target/validation/src/validation.o
make: g++: Команда не найдена
validation.target.mk:90: ошибка выполнения рецепта для цели «Release/obj.target/validation/src/validation.o»
make: *** [Release/obj.target/validation/src/validation.o] Ошибка 127
make: выход из каталога «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 4.1.5-200.fc22.x86_64
gyp ERR! command "node" "/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]
 
> [email protected] install /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

make: вход в каталог «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build»
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
make: g++: Команда не найдена
bufferutil.target.mk:90: ошибка выполнения рецепта для цели «Release/obj.target/bufferutil/src/bufferutil.o»
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 127
make: выход из каталога «/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil/build»
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
System Linux 4.1.5-200.fc22.x86_64
gyp ERR! command "node" "/home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
/home/kor/.nvm/versions/node/v0.12.7/bin/webpack-dev-server -> /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server/bin/webpack-dev-server.js
[email protected] /home/kor/.nvm/versions/node/v0.12.7/lib/node_modules/webpack-dev-server
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], type[email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], clone@1.0.2, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Masterov, 2015-08-26
@ludr

make: g++: Command not found

Install g++ in addition to gcc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question