I try to intall blynk-library and met below error.
Please help
gyp WARN EACCES user ārootā does not have permission to access the dev dir ā/root/.node-gyp/0.12.6ā
gyp WARN EACCES attempting to reinstall using temporary dev dir ā/usr/local/lib/node_modules/blynk-library/node_modules/usb/.node-gypā
make: Entering directory ā/usr/local/lib/node_modules/blynk-library/node_modules/usb/buildā
make: *** No rule to make target āā¦/.node-gyp/0.12.6/common.gypiā, needed by āMakefileā. Stop.
make: Leaving directory ā/usr/local/lib/node_modules/blynk-library/node_modules/usb/buildā
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:276: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.19-v7+
gyp ERR! command ā/usr/local/bin/nodeā ā/usr/local/lib/node_modules/node-gyp/bin/node-gyp.jsā ābuildā āāfallback-to-buildā āāmodule=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/binding/usb_bindings.nodeā āāmodule_name=usb_bindingsā āāmodule_path=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/bindingā
gyp ERR! cwd /usr/local/lib/node_modules/blynk-library/node_modules/usb
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute ā/usr/local/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/bindingā (1)
node-pre-gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/blynk-library/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17)
node-pre-gyp ERR! stack at maybeClose (child_process.js:1015:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
node-pre-gyp ERR! System Linux 4.1.19-v7+
node-pre-gyp ERR! command ānodeā ā/usr/local/lib/node_modules/blynk-library/node_modules/usb/node_modules/.bin/node-pre-gypā āinstallā āāfallback-to-buildā
node-pre-gyp ERR! cwd /usr/local/lib/node_modules/blynk-library/node_modules/usb
node-pre-gyp ERR! node -v v0.12.6
node-pre-gyp ERR! node-pre-gyp -v v0.6.24
node-pre-gyp ERR! not ok
Failed to execute ā/usr/local/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/usr/local/lib/node_modules/blynk-library/node_modules/usb/src/bindingā (1)
npm WARN install:usb@1.1.2 usb@1.1.2 install: node-pre-gyp install --fallback-to-build
npm WARN install:usb@1.1.2 Exit status 1