Я пытаюсь установить этот модуль на узел: hdf5
Проблема в том, что если я запускаю команду
npm install --save hdf5
сбой установки при следующих ошибках:
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/**my-node-project-path**/node_modules/hdf5/build'
gyp ERR! System Linux 4.15.0-33-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--jobs" "max"
gyp ERR! cwd **my-node-project-path+++/node_modules/hdf5
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN **my-project-name***@1.0.0 No description
npm WARN **my-project-name***@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: exiftool-vendored.exe@11.6.0 (node_modules/exiftool-vendored.exe):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for exiftool-vendored.exe@11.6.0: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hdf5@0.3.4 install: `node-gyp rebuild --jobs max`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hdf5@0.3.4 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! **my-user-folder**/.npm/_logs/2018-09-04T15_33_51_605Z-debug.log
Я не понимаю, что это за ошибка, я пытался также установить модуль с sudo
, но ничего не изменилось