node-int64-native icon indicating copy to clipboard operation
node-int64-native copied to clipboard

No template named 'Handle' error at install in React-Native project

Open razvanrujoiu opened this issue 4 years ago • 0 comments

[email protected] install /Users/razvanrujoiu/Documents/ProiecteReact/videoManager/node_modules/int64-native node-gyp configure && node-gyp build

CXX(target) Release/obj.target/Int64/src/main.o In file included from ../src/main.cc:8: ../src/Int64.h:13:20: error: no template named 'Handle' static void Init(Handle<Object> exports); ^ ../src/main.cc:13:14: error: no template named 'Handle' void InitAll(Handle<Object> exports) { ^ 2 errors generated. make: *** [Release/obj.target/Int64/src/main.o] Error 1 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/npm/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:277:12) gyp ERR! System Darwin 20.1.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" gyp ERR! cwd /Users/razvanrujoiu/Documents/ProiecteReact/videoManager/node_modules/int64-native gyp ERR! node -v v14.16.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN [email protected] requires a peer of @babel/preset-env@^7.1.6 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node-gyp configure && node-gyp build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! /Users/razvanrujoiu/.npm/_logs/2021-09-08T08_25_50_584Z-debug.log

razvanrujoiu avatar Sep 08 '21 08:09 razvanrujoiu