Edgar Ocampo
Preguntastudent•hace 5 años
A que se puede deber este error? Uso ubunto en windows
node-gyp build gyp info it worked if it ends with ok gyp info using node-gyp@7.0.0 gyp info using node@14.1.0 | linux | x64 gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/mnt/d/DRIVE/CursosPlatzi/Escuela de Javascript/Curso de Fundamentos de NodeJS/Ejercicios/modulos/nativos/build' make: *** No rule to make target 'Release/obj.target/addon/hola.o', needed by 'Release/obj.target/addon.node'. Stop. make: Leaving directory '/mnt/d/DRIVE/CursosPlatzi/Escuela de Javascript/Curso de Fundamentos de NodeJS/Ejercicios/modulos/nativos/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 4.4.0-18362-Microsoft gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build"gyp ERR! cwd /mnt/d/DRIVE/CursosPlatzi/Escuela de Javascript/Curso de Fundamentos de NodeJS/Ejercicios/modulos/nativos gyp ERR! node -v v14.1.0 gyp ERR! node-gyp -v v7.0.0 gyp ERR! not ok```

Sebastian Duran
student•hace 5 años
sudo apt-get update sudo apt-get install build-essential

Sebastian Duran
student•hace 5 años
Tal vez toque instalar los compiladores c++, creo que uno se llama g++