Open Advik-B opened 2 years ago
And yes: I have desktop dev with c++ selected
I also checked nodejs build tools if that helps
try using apm config set VCINSTALLDIR VALUE
to specify the path, then run the install
the same problem with jupiter-notebook installation on fedora `> bufferutil@1.2.1 install /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/bufferutil
node-gyp rebuild
make: входимо до каталогу «/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/bufferutil/build» CXX(target) Release/obj.target/bufferutil/src/bufferutil.o make: Залишаю каталог "/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/bufferutil/build"
utf-8-validate@1.2.2 install /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/utf-8-validate node-gyp rebuild
make: входимо до каталогу «/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/utf-8-validate/build» CXX(target) Release/obj.target/validation/src/validation.o make: Залишаю каталог "/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/utf-8-validate/build"
pathwatcher@8.1.2 install /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/pathwatcher node-gyp rebuild
make: входимо до каталогу «/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/pathwatcher/build» CXX(target) Release/obj.target/pathwatcher/src/main.o make: Залишаю каталог "/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/pathwatcher/build"
npm WARN deprecated jupyter-js-services@0.21.1: This package has moved to @jupyterlab/services
npm WARN deprecated uuid@2.0.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated core-js@1.2.7: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated phosphor@0.5.0: use @phosphor/ packages
make: g++: Немає такого файла або каталогу
make: [bufferutil.target.mk:114: Release/obj.target/bufferutil/src/bufferutil.o] Помилка 127
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.17.6-200.fc35.x86_64
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/bufferutil
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
make: g++: Немає такого файла або каталогу
make: [validation.target.mk:114: Release/obj.target/validation/src/validation.o] Помилка 127
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.17.6-200.fc35.x86_64
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/utf-8-validate
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
make: g++: Немає такого файла або каталогу
make: *** [pathwatcher.target.mk:118: Release/obj.target/pathwatcher/src/main.o] Помилка 127
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.17.6-200.fc35.x86_64
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/node_modules/jupyter-notebook/node_modules/pathwatcher
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-2022411-9618-1gtg3vz.skdd/package.json'
npm WARN apm-install-dir-2022411-9618-1gtg3vz.skdd No description
npm WARN apm-install-dir-2022411-9618-1gtg3vz.skdd No repository field.
npm WARN apm-install-dir-2022411-9618-1gtg3vz.skdd No README data
npm WARN apm-install-dir-2022411-9618-1gtg3vz.skdd No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 (node_modules/jupyter-notebook/node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.2.1 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 (node_modules/jupyter-notebook/node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.2.2 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pathwatcher@8.1.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pathwatcher@8.1.2 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/oleg0z/.atom/.apm/_logs/2022-05-11T10_39_37_934Z-debug.log`
The full error log
Note
I am a python dev, so I have vcruntime and vsbuildtools, and I am on windows-10 64 bit