Closed affanshahid closed 6 years ago
Hm could you post the whole log? Installing the package can take some time because it downloads and compiles dlib and downloads the model files. But the progress should be logged.
Similar issue here, cant install:
node: v8.9.3 npm: 5.6.0 macOS: 10.13.2 (17C205)
Terminal Output:
> face-recognition@0.3.0 install /Users/bobmoff/Projects/face-recognition.js
> node-gyp rebuild
CXX(target) Release/obj.target/facerec/cc/index.o
CXX(target) Release/obj.target/facerec/cc/ImageRGB.o
CXX(target) Release/obj.target/facerec/cc/ImageGray.o
CXX(target) Release/obj.target/facerec/cc/CvImage.o
CXX(target) Release/obj.target/facerec/cc/Rect.o
CXX(target) Release/obj.target/facerec/cc/MmodRect.o
CXX(target) Release/obj.target/facerec/cc/FullObjectDetection.o
../cc/FullObjectDetection.cc:26:20: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (int i = 0; i < detection.num_parts(); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~
In file included from ../cc/FullObjectDetection.cc:1:
In file included from ../cc/FullObjectDetection.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<Point, dlib::vector<long, 2> >, dlib::vector<long, 2>,
dlib::vector<long, 2> >::wrap' requested here
return ConverterType::wrap(val);
^
../cc/FullObjectDetection.cc:29:70: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<Point, dlib::vector<long, 2> >, dlib::vector<long, 2>,
dlib::vector<long, 2> >, std::__1::vector<dlib::vector<long, 2>, std::__1::allocator<dlib::vector<long, 2> > > >::wrap'
requested here
info.GetReturnValue().Set(ObjectArrayConverter<Point, dlib::point>::wrap(parts));
^
2 warnings generated.
CXX(target) Release/obj.target/facerec/cc/Point.o
CXX(target) Release/obj.target/facerec/cc/Array.o
In file included from ../cc/Array.cc:1:
In file included from ../cc/Array.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation
of member function 'ArrayConverterType<NumberTypeConverter, double, double>::unwrap' requested here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/Array.cc:22:26: note: in instantiation of member function 'AbstractConverter<ArrayConverterType<NumberTypeConverter, double,
double>, std::__1::vector<double, std::__1::allocator<double> > >::arg' requested here
DoubleArrayConverter::arg(0, &vec, info)
^
In file included from ../cc/Array.cc:1:
In file included from ../cc/Array.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation
of member function 'ArrayConverterType<NumberTypeConverter, double, double>::wrap' requested here
return ConverterType::wrap(val);
^
../cc/Array.cc:31:50: note: in instantiation of member function 'AbstractConverter<ArrayConverterType<NumberTypeConverter, double,
double>, std::__1::vector<double, std::__1::allocator<double> > >::wrap' requested here
info.GetReturnValue().Set(DoubleArrayConverter::wrap(Array::toVec(Array::Converter::unwrap(info.This()))));
^
2 warnings generated.
CXX(target) Release/obj.target/facerec/cc/ChipDetails.o
CXX(target) Release/obj.target/facerec/cc/utils.o
../cc/utils.cc:227:20: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long')
[-Wsign-compare]
for (int i = 0; i < vec1.size(); i++) {
~ ^ ~~~~~~~~~~~
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<FullObjectDetection, dlib::full_object_detection>,
dlib::full_object_detection, dlib::full_object_detection>::unwrap' requested here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/utils.cc:141:75: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<FullObjectDetection, dlib::full_object_detection>,
dlib::full_object_detection, dlib::full_object_detection>, std::__1::vector<dlib::full_object_detection,
std::__1::allocator<dlib::full_object_detection> > >::arg' requested here
ObjectArrayConverter<FullObjectDetection, dlib::full_object_detection>::arg(0, &detections, info)
^
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<ChipDetails, dlib::chip_details>, dlib::chip_details,
dlib::chip_details>::wrap' requested here
return ConverterType::wrap(val);
^
../cc/utils.cc:150:83: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<ChipDetails, dlib::chip_details>, dlib::chip_details,
dlib::chip_details>, std::__1::vector<dlib::chip_details, std::__1::allocator<dlib::chip_details> > >::wrap' requested here
info.GetReturnValue().Set(ObjectArrayConverter<ChipDetails, dlib::chip_details>::wrap(details));
^
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<ChipDetails, dlib::chip_details>, dlib::chip_details,
dlib::chip_details>::unwrap' requested here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/utils.cc:159:60: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<ChipDetails, dlib::chip_details>, dlib::chip_details,
dlib::chip_details>, std::__1::vector<dlib::chip_details, std::__1::allocator<dlib::chip_details> > >::arg' requested here
||ObjectArrayConverter<ChipDetails, dlib::chip_details>::arg(1, &details, info);
^
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<ImageRGB, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >::wrap' requested here
return ConverterType::wrap(val);
^
../cc/utils.cc:171:91: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<ImageRGB, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, std::__1::vector<dlib::matrix<dlib::rgb_pixel, 0,
0, dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, std::__1::allocator<dlib::matrix<dlib::rgb_pixel,
0, 0, dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> > > >::wrap' requested here
info.GetReturnValue().Set(ObjectArrayConverter<ImageRGB, dlib::matrix<dlib::rgb_pixel>>::wrap(face_chips_vec));
^
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<ImageRGB, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >::unwrap' requested here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/utils.cc:176:81: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<ImageRGB, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<dlib::rgb_pixel, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, std::__1::vector<dlib::matrix<dlib::rgb_pixel, 0,
0, dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, std::__1::allocator<dlib::matrix<dlib::rgb_pixel,
0, 0, dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> > > >::arg' requested here
bool didThrow = ObjectArrayConverter<ImageRGB, dlib::matrix<dlib::rgb_pixel>>::arg(0, &face_chips, info);
^
In file included from ../cc/utils.cc:1:
In file included from ../cc/utils.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of
integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation
of member function 'ArrayConverterType<InstanceConverterType<Array, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >::unwrap' requested here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/utils.cc:203:69: note: in instantiation of member function
'AbstractConverter<ArrayConverterType<InstanceConverterType<Array, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> >, std::__1::vector<dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout>, std::__1::allocator<dlib::matrix<double, 0, 0,
dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> > > >::arg' requested here
bool didThrow = ObjectArrayConverter<Array, dlib::matrix<double>>::arg(0, &arr, info);
^
7 warnings generated.
CXX(target) Release/obj.target/facerec/cc/ImageWindow.o
../cc/ImageWindow.cc:56:7: warning: unused variable 'isGray' [-Wunused-variable]
bool isGray = ImageGray::Converter::hasInstance(info[0]);
^
In file included from ../cc/ImageWindow.cc:1:
In file included from ../cc/ImageWindow.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:20:23: warning: comparison of integers of different signs: 'int' and 'uint32_t'
(aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:86:45: note: in instantiation of member function
'ArrayConverterType<InstanceConverterType<FullObjectDetection, dlib::full_object_detection>, dlib::full_object_detection, dlib::full_object_detection>::unwrap' requested
here
if (!hasArg(argN, info) || ConverterType::unwrap(val, info[argN])) {
^
../cc/ImageWindow.cc:84:90: note: in instantiation of member function 'AbstractConverter<ArrayConverterType<InstanceConverterType<FullObjectDetection,
dlib::full_object_detection>, dlib::full_object_detection, dlib::full_object_detection>, std::__1::vector<dlib::full_object_detection,
std::__1::allocator<dlib::full_object_detection> > >::arg' requested here
bool didThrow = ObjectArrayConverter<FullObjectDetection, dlib::full_object_detection>::arg(0, &detections, info);
^
2 warnings generated.
CXX(target) Release/obj.target/facerec/cc/ShapePredictor.o
CXX(target) Release/obj.target/facerec/cc/FrontalFaceDetector.o
In file included from ../cc/FrontalFaceDetector.cc:1:
In file included from ../cc/FrontalFaceDetector.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of integers of different signs: 'int' and 'uint32_t'
(aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation of member function
'ArrayConverterType<InstanceConverterType<Rect, dlib::rectangle>, dlib::rectangle, dlib::rectangle>::wrap' requested here
return ConverterType::wrap(val);
^
../cc/FrontalFaceDetector.cc:37:73: note: in instantiation of member function 'AbstractConverter<ArrayConverterType<InstanceConverterType<Rect, dlib::rectangle>, dlib::rectangle,
dlib::rectangle>, std::__1::vector<dlib::rectangle, std::__1::allocator<dlib::rectangle> > >::wrap' requested here
info.GetReturnValue().Set(ObjectArrayConverter<Rect, dlib::rectangle>::wrap(rects));
^
1 warning generated.
CXX(target) Release/obj.target/facerec/cc/FaceDetectorNet.o
In file included from ../cc/FaceDetectorNet.cc:1:
In file included from ../cc/FaceDetectorNet.h:1:
In file included from /Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/Converters.h:2:
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/ArrayConverters.h:41:21: warning: comparison of integers of different signs: 'int' and 'uint32_t'
(aka 'unsigned int') [-Wsign-compare]
for (int i = 0; i < jsArr->Length(); i++) {
~ ^ ~~~~~~~~~~~~~~~
/Users/bobmoff/Projects/face-recognition.js/node_modules/native-node-utils/src/AbstractConverter.h:52:25: note: in instantiation of member function
'ArrayConverterType<InstanceConverterType<MmodRect, dlib::mmod_rect>, dlib::mmod_rect, dlib::mmod_rect>::wrap' requested here
return ConverterType::wrap(val);
^
../cc/FaceDetectorNet.cc:50:59: note: in instantiation of member function 'AbstractConverter<ArrayConverterType<InstanceConverterType<MmodRect, dlib::mmod_rect>, dlib::mmod_rect,
dlib::mmod_rect>, std::__1::vector<dlib::mmod_rect, std::__1::allocator<dlib::mmod_rect> > >::wrap' requested here
return ObjectArrayConverter<MmodRect, dlib::mmod_rect>::wrap(rects);
^
../cc/FaceDetectorNet.cc:64:36: note: in instantiation of member function 'FaceDetectorNet::DetectWorker<dlib::bgr_pixel, CvImage>::getReturnValue' requested here
info.GetReturnValue().Set(worker.getReturnValue());
^
1 warning generated.
CXX(target) Release/obj.target/facerec/cc/FaceRecognizerNet.o
SOLINK_MODULE(target) Release/facerec.node
ld: warning: directory not found for option '-L/usr/X11/lib'
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Release/facerec.node] 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:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 17.3.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bobmoff/Projects/face-recognition.js
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! face-recognition@0.3.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the face-recognition@0.3.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'i' ]
2 info using npm@5.6.0
3 info using node@v8.9.3
4 verbose npm-session b1b5234edde0e0a8
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall face-recognition@0.3.0
7 info lifecycle face-recognition@0.3.0~preinstall: face-recognition@0.3.0
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 silly install loadShrinkwrap
13 silly install loadAllDepsIntoIdealTree
14 silly currentTree face-recognition@0.3.0
14 silly currentTree ├── assertion-error@1.1.0
14 silly currentTree ├── balanced-match@1.0.0
14 silly currentTree ├── brace-expansion@1.1.8
14 silly currentTree ├── browser-stdout@1.3.0
14 silly currentTree ├── chai@4.1.2
14 silly currentTree ├── check-error@1.0.2
14 silly currentTree ├── commander@2.11.0
14 silly currentTree ├── concat-map@0.0.1
14 silly currentTree ├── debug@3.1.0
14 silly currentTree ├── deep-eql@3.0.1
14 silly currentTree ├── diff@3.3.1
14 silly currentTree ├── escape-string-regexp@1.0.5
14 silly currentTree ├── face-recognition-models@0.0.0
14 silly currentTree ├── fs.realpath@1.0.0
14 silly currentTree ├── get-func-name@2.0.0
14 silly currentTree ├── glob@7.1.2
14 silly currentTree ├── growl@1.10.3
14 silly currentTree ├── has-flag@2.0.0
14 silly currentTree ├── he@1.1.1
14 silly currentTree ├── inflight@1.0.6
14 silly currentTree ├── inherits@2.0.3
14 silly currentTree ├── minimatch@3.0.4
14 silly currentTree ├── minimist@0.0.8
14 silly currentTree ├── mkdirp@0.5.1
14 silly currentTree ├── mocha@4.1.0
14 silly currentTree ├── ms@2.0.0
14 silly currentTree ├── nan@2.8.0
14 silly currentTree ├── native-node-utils@0.0.0
14 silly currentTree ├── once@1.4.0
14 silly currentTree ├── path-is-absolute@1.0.1
14 silly currentTree ├── pathval@1.1.0
14 silly currentTree ├── supports-color@4.4.0
14 silly currentTree ├── type-detect@4.0.5
14 silly currentTree └── wrappy@1.0.2
15 silly idealTree face-recognition@0.3.0
15 silly idealTree ├── assertion-error@1.1.0
15 silly idealTree ├── balanced-match@1.0.0
15 silly idealTree ├── brace-expansion@1.1.8
15 silly idealTree ├── browser-stdout@1.3.0
15 silly idealTree ├── chai@4.1.2
15 silly idealTree ├── check-error@1.0.2
15 silly idealTree ├── commander@2.11.0
15 silly idealTree ├── concat-map@0.0.1
15 silly idealTree ├── debug@3.1.0
15 silly idealTree ├── deep-eql@3.0.1
15 silly idealTree ├── diff@3.3.1
15 silly idealTree ├── dlib-build@0.0.6
15 silly idealTree ├── escape-string-regexp@1.0.5
15 silly idealTree ├── face-recognition-models@0.0.0
15 silly idealTree ├── fs.realpath@1.0.0
15 silly idealTree ├── get-func-name@2.0.0
15 silly idealTree ├── glob@7.1.2
15 silly idealTree ├── growl@1.10.3
15 silly idealTree ├── has-flag@2.0.0
15 silly idealTree ├── he@1.1.1
15 silly idealTree ├── inflight@1.0.6
15 silly idealTree ├── inherits@2.0.3
15 silly idealTree ├── minimatch@3.0.4
15 silly idealTree ├── minimist@0.0.8
15 silly idealTree ├── mkdirp@0.5.1
15 silly idealTree ├── mocha@4.1.0
15 silly idealTree ├── ms@2.0.0
15 silly idealTree ├── nan@2.8.0
15 silly idealTree ├── native-node-utils@0.0.0
15 silly idealTree ├── once@1.4.0
15 silly idealTree ├── path-is-absolute@1.0.1
15 silly idealTree ├── pathval@1.1.0
15 silly idealTree ├── supports-color@4.4.0
15 silly idealTree ├── type-detect@4.0.5
15 silly idealTree └── wrappy@1.0.2
16 silly install generateActionsToTake
17 silly diffTrees action count 1
18 silly diffTrees add dlib-build@0.0.6
19 silly decomposeActions action count 8
20 silly decomposeActions fetch dlib-build@0.0.6
21 silly decomposeActions extract dlib-build@0.0.6
22 silly decomposeActions preinstall dlib-build@0.0.6
23 silly decomposeActions build dlib-build@0.0.6
24 silly decomposeActions install dlib-build@0.0.6
25 silly decomposeActions postinstall dlib-build@0.0.6
26 silly decomposeActions finalize dlib-build@0.0.6
27 silly decomposeActions refresh-package-json dlib-build@0.0.6
28 silly install executeActions
29 silly doSerial global-install 8
30 verbose correctMkdir /Users/bobmoff/.npm/_locks correctMkdir not in flight; initializing
31 verbose lock using /Users/bobmoff/.npm/_locks/staging-6b2c642dc9974e25.lock for /Users/bobmoff/Projects/face-recognition.js/node_modules/.staging
32 silly doParallel extract 8
33 silly extract dlib-build@0.0.6
34 silly doReverseSerial unbuild 8
35 silly doSerial remove 8
36 silly doSerial move 8
37 silly doSerial finalize 8
38 silly finalize /Users/bobmoff/Projects/face-recognition.js/node_modules/dlib-build
39 silly doParallel refresh-package-json 8
40 silly refresh-package-json /Users/bobmoff/Projects/face-recognition.js/node_modules/dlib-build
41 silly doParallel preinstall 8
42 silly preinstall dlib-build@0.0.6
43 info lifecycle dlib-build@0.0.6~preinstall: dlib-build@0.0.6
44 silly doSerial build 8
45 silly build dlib-build@0.0.6
46 info linkStuff dlib-build@0.0.6
47 silly linkStuff dlib-build@0.0.6 has /Users/bobmoff/Projects/face-recognition.js/node_modules as its parent node_modules
48 verbose linkBins dlib-build@0.0.6
49 verbose linkMans dlib-build@0.0.6
50 silly doSerial global-link 8
51 silly doParallel update-linked 8
52 silly doSerial install 8
53 silly install dlib-build@0.0.6
54 info lifecycle dlib-build@0.0.6~install: dlib-build@0.0.6
55 verbose lifecycle dlib-build@0.0.6~install: unsafe-perm in lifecycle true
56 verbose lifecycle dlib-build@0.0.6~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/bobmoff/Projects/face-recognition.js/node_modules/dlib-build/node_modules/.bin:/Users/bobmoff/Projects/face-recognition.js/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
57 verbose lifecycle dlib-build@0.0.6~install: CWD: /Users/bobmoff/Projects/face-recognition.js/node_modules/dlib-build
58 silly lifecycle dlib-build@0.0.6~install: Args: [ '-c', 'node ./install.js' ]
59 silly lifecycle dlib-build@0.0.6~install: Returned: code: 0 signal: null
60 silly doSerial postinstall 8
61 silly postinstall dlib-build@0.0.6
62 info lifecycle dlib-build@0.0.6~postinstall: dlib-build@0.0.6
63 verbose unlock done using /Users/bobmoff/.npm/_locks/staging-6b2c642dc9974e25.lock for /Users/bobmoff/Projects/face-recognition.js/node_modules/.staging
64 silly install runPostinstallTopLevelLifecycles
65 silly build face-recognition@0.3.0
66 info linkStuff face-recognition@0.3.0
67 silly linkStuff face-recognition@0.3.0 has /Users/bobmoff/Projects as its parent node_modules
68 verbose linkBins face-recognition@0.3.0
69 verbose linkMans face-recognition@0.3.0
70 silly install face-recognition@0.3.0
71 info lifecycle face-recognition@0.3.0~install: face-recognition@0.3.0
72 verbose lifecycle face-recognition@0.3.0~install: unsafe-perm in lifecycle true
73 verbose lifecycle face-recognition@0.3.0~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/bobmoff/Projects/face-recognition.js/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
74 verbose lifecycle face-recognition@0.3.0~install: CWD: /Users/bobmoff/Projects/face-recognition.js
75 silly lifecycle face-recognition@0.3.0~install: Args: [ '-c', 'node-gyp rebuild' ]
76 silly lifecycle face-recognition@0.3.0~install: Returned: code: 1 signal: null
77 info lifecycle face-recognition@0.3.0~install: Failed to exec install script
78 verbose stack Error: face-recognition@0.3.0 install: `node-gyp rebuild`
78 verbose stack Exit status 1
78 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
78 verbose stack at emitTwo (events.js:126:13)
78 verbose stack at EventEmitter.emit (events.js:214:7)
78 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
78 verbose stack at emitTwo (events.js:126:13)
78 verbose stack at ChildProcess.emit (events.js:214:7)
78 verbose stack at maybeClose (internal/child_process.js:925:16)
78 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
79 verbose pkgid face-recognition@0.3.0
80 verbose cwd /Users/bobmoff/Projects/face-recognition.js
81 verbose Darwin 17.3.0
82 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i"
83 verbose node v8.9.3
84 verbose npm v5.6.0
85 error code ELIFECYCLE
86 error errno 1
87 error face-recognition@0.3.0 install: `node-gyp rebuild`
87 error Exit status 1
88 error Failed at the face-recognition@0.3.0 install script.
88 error This is probably not a problem with npm. There is likely additional logging output above.
89 verbose exit [ 1, true ]
ld: warning: directory not found for option '-L/usr/X11/lib'
ld: library not found for -lX11
Could not find libx11. Have you installed XQuartz?
Thx for fast reply. I will check that out.
Why is there a need for a window system in this project?
Because I havent added support to build without the dlib GUI yet, but I intended to do that at some point.
Ok. Sweet. Very interesting project. I am happy that youre taking your time to create this easy way to access face recognition capabilities. If this works for us, we can skip using a cloud service which would be both more effective and much cheaper. :)
Cool, let me know if you are running into problems.
By the way, if it helps setting up the dependencies on travis was as simple as:
brew update
brew tap caskroom/cask
brew cask install xquartz
It works fine now. You were totally correct in that I didn't have xquartz installed.
Great.
i have a similar problem..i get the below error on trying to install npm face-recognition
face-recognition@0.6.0 install /home/gokulkeshav/node_modules/face-recognition node-gyp rebuild
make: Entering directory '/home/gokulkeshav/node_modules/face-recognition/build' CXX(target) Release/obj.target/facerec/cc/index.o In file included from ../cc/index.cc:2:0: ../cc/utils.h:2:27: fatal error: dlib/image_io.h: No such file or directory
^
compilation terminated.
facerec.target.mk:118: recipe for target 'Release/obj.target/facerec/cc/index.o' failed
make: *** [Release/obj.target/facerec/cc/index.o] Error 1
make: Leaving directory '/home/gokulkeshav/node_modules/face-recognition/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/gokulkeshav/.nvm/versions/node/v8.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Linux 4.13.0-32-generic
gyp ERR! command "/home/gokulkeshav/.nvm/versions/node/v8.0.0/bin/node" "/home/gokulkeshav/.nvm/versions/node/v8.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/gokulkeshav/node_modules/face-recognition
gyp ERR! node -v v8.0.0
gyp ERR! node-gyp -v v3.6.1
gyp ERR! not ok
npm WARN gokulkeshav@1.0.0 No description
npm WARN gokulkeshav@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! face-recognition@0.6.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the face-recognition@0.6.0 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/gokulkeshav/.npm/_logs/2018-03-02T14_38_36_633Z-debug.log
This is the debug log
0 info it worked if it ends with ok
1 verbose cli [ '/home/gokulkeshav/.nvm/versions/node/v8.0.0/bin/node',
1 verbose cli '/home/gokulkeshav/.nvm/versions/node/v8.0.0/bin/npm',
1 verbose cli 'install',
1 verbose cli 'face-recognition' ]
2 info using npm@5.0.0
3 info using node@v8.0.0
4 verbose config Skipping project config: /home/gokulkeshav/.npmrc. (matches userconfig)
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://registry.npmjs.org/face-recognition 250ms (from cache)
8 silly pacote tag manifest for face-recognition@latest fetched in 277ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule face-recognition@0.6.0 checking installable status
14 http fetch GET 304 https://registry.npmjs.org/face-recognition-models 63ms (from cache)
15 silly pacote version manifest for face-recognition-models@0.0.0 fetched in 66ms
16 silly resolveWithNewModule face-recognition-models@0.0.0 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/native-node-utils 157ms (from cache)
18 http fetch GET 304 https://registry.npmjs.org/nan 158ms (from cache)
19 silly pacote version manifest for native-node-utils@0.0.0 fetched in 160ms
20 silly resolveWithNewModule native-node-utils@0.0.0 checking installable status
21 silly pacote range manifest for nan@^2.7.0 fetched in 162ms
22 silly resolveWithNewModule nan@2.9.2 checking installable status
23 silly currentTree gokulkeshav@1.0.0
23 silly currentTree +-- abbrev@1.1.1
23 silly currentTree +-- accepts@1.3.4
23 silly currentTree +-- ajv@5.5.2
23 silly currentTree +-- ansi-regex@2.1.1
23 silly currentTree +-- append-field@0.1.0
23 silly currentTree +-- aproba@1.2.0
23 silly currentTree +-- are-we-there-yet@1.1.4
23 silly currentTree +-- array-flatten@1.1.1
23 silly currentTree +-- asn1@0.2.3
23 silly currentTree +-- assert-plus@1.0.0
23 silly currentTree +-- asynckit@0.4.0
23 silly currentTree +-- aws-sign2@0.7.0
23 silly currentTree +-- aws4@1.6.0
23 silly currentTree +-- balanced-match@1.0.0
23 silly currentTree +-- bcrypt-pbkdf@1.0.1
23 silly currentTree +-- bignumber.js@4.0.4
23 silly currentTree +-- block-stream@0.0.9
23 silly currentTree +-- body-parser@1.18.2
23 silly currentTree +-- boom@4.3.1
23 silly currentTree +-- brace-expansion@1.1.11
23 silly currentTree +-- busboy@0.2.14
23 silly currentTree | +-- isarray@0.0.1
23 silly currentTree | +-- readable-stream@1.1.14
23 silly currentTree | -- string_decoder@0.10.31 23 silly currentTree +-- bytes@3.0.0 23 silly currentTree +-- caseless@0.12.0 23 silly currentTree +-- co@4.6.0 23 silly currentTree +-- code-point-at@1.1.0 23 silly currentTree +-- combined-stream@1.0.6 23 silly currentTree +-- concat-map@0.0.1 23 silly currentTree +-- concat-stream@1.6.0 23 silly currentTree +-- console-control-strings@1.1.0 23 silly currentTree +-- constants@0.0.2 23 silly currentTree +-- content-disposition@0.5.2 23 silly currentTree +-- content-type@1.0.4 23 silly currentTree +-- cookie-parser@1.4.3 23 silly currentTree +-- cookie-signature@1.0.6 23 silly currentTree +-- cookie@0.3.1 23 silly currentTree +-- core-util-is@1.0.2 23 silly currentTree +-- cryptiles@3.1.2 23 silly currentTree |
-- boom@5.2.0
23 silly currentTree +-- dashdash@1.14.1
23 silly currentTree +-- debug@2.6.9
23 silly currentTree +-- delayed-stream@1.0.0
23 silly currentTree +-- delegates@1.0.0
23 silly currentTree +-- depd@1.1.2
23 silly currentTree +-- destroy@1.0.4
23 silly currentTree +-- dicer@0.2.5
23 silly currentTree | +-- isarray@0.0.1
23 silly currentTree | +-- readable-stream@1.1.14
23 silly currentTree | -- string_decoder@0.10.31 23 silly currentTree +-- dlib-build@0.0.6 23 silly currentTree +-- ecc-jsbn@0.1.1 23 silly currentTree +-- ee-first@1.1.1 23 silly currentTree +-- encodeurl@1.0.2 23 silly currentTree +-- escape-html@1.0.3 23 silly currentTree +-- etag@1.8.1 23 silly currentTree +-- express@4.16.2 23 silly currentTree | +-- setprototypeof@1.1.0 23 silly currentTree |
-- statuses@1.3.1
23 silly currentTree +-- extend@3.0.1
23 silly currentTree +-- extsprintf@1.3.0
23 silly currentTree +-- fast-deep-equal@1.1.0
23 silly currentTree +-- fast-json-stable-stringify@2.0.0
23 silly currentTree +-- finalhandler@1.1.0
23 silly currentTree | -- statuses@1.3.1 23 silly currentTree +-- forever-agent@0.6.1 23 silly currentTree +-- form-data@2.3.2 23 silly currentTree +-- forwarded@0.1.2 23 silly currentTree +-- fresh@0.5.2 23 silly currentTree +-- fs.realpath@1.0.0 23 silly currentTree +-- fstream@1.0.11 23 silly currentTree +-- gauge@2.7.4 23 silly currentTree |
-- object-assign@4.1.1
23 silly currentTree +-- getpass@0.1.7
23 silly currentTree +-- glob@7.1.2
23 silly currentTree +-- graceful-fs@4.1.11
23 silly currentTree +-- grpc
23 silly currentTree +-- har-schema@2.0.0
23 silly currentTree +-- har-validator@5.0.3
23 silly currentTree +-- has-unicode@2.0.1
23 silly currentTree +-- hawk@6.0.2
23 silly currentTree +-- hoek@4.2.1
23 silly currentTree +-- http-errors@1.6.2
23 silly currentTree | -- depd@1.1.1 23 silly currentTree +-- http-signature@1.2.0 23 silly currentTree +-- iconv-lite@0.4.19 23 silly currentTree +-- inflight@1.0.6 23 silly currentTree +-- inherits@2.0.3 23 silly currentTree +-- ipaddr.js@1.5.2 23 silly currentTree +-- is-fullwidth-code-point@1.0.0 23 silly currentTree +-- is-typedarray@1.0.0 23 silly currentTree +-- isarray@1.0.0 23 silly currentTree +-- isexe@2.0.0 23 silly currentTree +-- isstream@0.1.2 23 silly currentTree +-- jsbn@0.1.1 23 silly currentTree +-- json-schema-traverse@0.3.1 23 silly currentTree +-- json-schema@0.2.3 23 silly currentTree +-- json-stringify-safe@5.0.1 23 silly currentTree +-- jsprim@1.4.1 23 silly currentTree +-- loadash@1.0.0 23 silly currentTree +-- media-typer@0.3.0 23 silly currentTree +-- merge-descriptors@1.0.1 23 silly currentTree +-- methods@1.1.2 23 silly currentTree +-- mime-db@1.30.0 23 silly currentTree +-- mime-types@2.1.17 23 silly currentTree +-- mime@1.4.1 23 silly currentTree +-- minimatch@3.0.4 23 silly currentTree +-- minimist@0.0.8 23 silly currentTree +-- mkdirp@0.5.1 23 silly currentTree +-- ms@2.0.0 23 silly currentTree +-- multer@1.3.0 23 silly currentTree +-- mysql@2.15.0 23 silly currentTree +-- negotiator@0.6.1 23 silly currentTree +-- node-gyp@3.6.2 23 silly currentTree +-- nodemailer@4.4.2 23 silly currentTree +-- nopt@3.0.6 23 silly currentTree +-- npmlog@4.1.2 23 silly currentTree +-- number-is-nan@1.0.1 23 silly currentTree +-- oauth-sign@0.8.2 23 silly currentTree +-- object-assign@3.0.0 23 silly currentTree +-- on-finished@2.3.0 23 silly currentTree +-- once@1.4.0 23 silly currentTree +-- optimist@0.3.7 23 silly currentTree +-- os-homedir@1.0.2 23 silly currentTree +-- os-tmpdir@1.0.2 23 silly currentTree +-- osenv@0.1.5 23 silly currentTree +-- parseurl@1.3.2 23 silly currentTree +-- path-is-absolute@1.0.1 23 silly currentTree +-- path-to-regexp@0.1.7 23 silly currentTree +-- performance-now@2.1.0 23 silly currentTree +-- process-nextick-args@1.0.7 23 silly currentTree +-- proxy-addr@2.0.2 23 silly currentTree +-- punycode@1.4.1 23 silly currentTree +-- qs@6.5.1 23 silly currentTree +-- range-parser@1.2.0 23 silly currentTree +-- raw-body@2.3.2 23 silly currentTree +-- readable-stream@2.3.3 23 silly currentTree +-- rebuild@0.1.2 23 silly currentTree +-- request@2.83.0 23 silly currentTree +-- rimraf@2.6.2 23 silly currentTree +-- safe-buffer@5.1.1 23 silly currentTree +-- semver@5.3.0 23 silly currentTree +-- send@0.16.1 23 silly currentTree |
-- statuses@1.3.1
23 silly currentTree +-- serve-static@1.13.1
23 silly currentTree +-- set-blocking@2.0.0
23 silly currentTree +-- setprototypeof@1.0.3
23 silly currentTree +-- signal-exit@3.0.2
23 silly currentTree +-- sntp@2.1.0
23 silly currentTree +-- sqlstring@2.3.0
23 silly currentTree +-- sshpk@1.13.1
23 silly currentTree +-- statuses@1.4.0
23 silly currentTree +-- streamsearch@0.1.2
23 silly currentTree +-- string_decoder@1.0.3
23 silly currentTree +-- string-width@1.0.2
23 silly currentTree +-- stringstream@0.0.5
23 silly currentTree +-- strip-ansi@3.0.1
23 silly currentTree +-- tar@2.2.1
23 silly currentTree +-- tough-cookie@2.3.4
23 silly currentTree +-- tunnel-agent@0.6.0
23 silly currentTree +-- tweetnacl@0.14.5
23 silly currentTree +-- type-is@1.6.15
23 silly currentTree +-- typedarray@0.0.6
23 silly currentTree +-- unpipe@1.0.0
23 silly currentTree +-- util-deprecate@1.0.2
23 silly currentTree +-- utils-merge@1.0.1
23 silly currentTree +-- uuid@3.2.1
23 silly currentTree +-- vary@1.1.2
23 silly currentTree +-- verror@1.10.0
23 silly currentTree +-- which@1.3.0
23 silly currentTree +-- wide-align@1.1.2
23 silly currentTree +-- wordwrap@0.0.3
23 silly currentTree +-- wrappy@1.0.2
23 silly currentTree -- xtend@4.0.1 24 silly idealTree gokulkeshav@1.0.0 24 silly idealTree +-- abbrev@1.1.1 24 silly idealTree +-- accepts@1.3.4 24 silly idealTree +-- ajv@5.5.2 24 silly idealTree +-- ansi-regex@2.1.1 24 silly idealTree +-- append-field@0.1.0 24 silly idealTree +-- aproba@1.2.0 24 silly idealTree +-- are-we-there-yet@1.1.4 24 silly idealTree +-- array-flatten@1.1.1 24 silly idealTree +-- asn1@0.2.3 24 silly idealTree +-- assert-plus@1.0.0 24 silly idealTree +-- asynckit@0.4.0 24 silly idealTree +-- aws-sign2@0.7.0 24 silly idealTree +-- aws4@1.6.0 24 silly idealTree +-- balanced-match@1.0.0 24 silly idealTree +-- bcrypt-pbkdf@1.0.1 24 silly idealTree +-- bignumber.js@4.0.4 24 silly idealTree +-- block-stream@0.0.9 24 silly idealTree +-- body-parser@1.18.2 24 silly idealTree +-- boom@4.3.1 24 silly idealTree +-- brace-expansion@1.1.11 24 silly idealTree +-- busboy@0.2.14 24 silly idealTree | +-- isarray@0.0.1 24 silly idealTree | +-- readable-stream@1.1.14 24 silly idealTree |
-- string_decoder@0.10.31
24 silly idealTree +-- bytes@3.0.0
24 silly idealTree +-- caseless@0.12.0
24 silly idealTree +-- co@4.6.0
24 silly idealTree +-- code-point-at@1.1.0
24 silly idealTree +-- combined-stream@1.0.6
24 silly idealTree +-- concat-map@0.0.1
24 silly idealTree +-- concat-stream@1.6.0
24 silly idealTree +-- console-control-strings@1.1.0
24 silly idealTree +-- constants@0.0.2
24 silly idealTree +-- content-disposition@0.5.2
24 silly idealTree +-- content-type@1.0.4
24 silly idealTree +-- cookie-parser@1.4.3
24 silly idealTree +-- cookie-signature@1.0.6
24 silly idealTree +-- cookie@0.3.1
24 silly idealTree +-- core-util-is@1.0.2
24 silly idealTree +-- cryptiles@3.1.2
24 silly idealTree | -- boom@5.2.0 24 silly idealTree +-- dashdash@1.14.1 24 silly idealTree +-- debug@2.6.9 24 silly idealTree +-- delayed-stream@1.0.0 24 silly idealTree +-- delegates@1.0.0 24 silly idealTree +-- depd@1.1.2 24 silly idealTree +-- destroy@1.0.4 24 silly idealTree +-- dicer@0.2.5 24 silly idealTree | +-- isarray@0.0.1 24 silly idealTree | +-- readable-stream@1.1.14 24 silly idealTree |
-- string_decoder@0.10.31
24 silly idealTree +-- dlib-build@0.0.6
24 silly idealTree +-- ecc-jsbn@0.1.1
24 silly idealTree +-- ee-first@1.1.1
24 silly idealTree +-- encodeurl@1.0.2
24 silly idealTree +-- escape-html@1.0.3
24 silly idealTree +-- etag@1.8.1
24 silly idealTree +-- express@4.16.2
24 silly idealTree | +-- setprototypeof@1.1.0
24 silly idealTree | -- statuses@1.3.1 24 silly idealTree +-- extend@3.0.1 24 silly idealTree +-- extsprintf@1.3.0 24 silly idealTree +-- face-recognition-models@0.0.0 24 silly idealTree +-- face-recognition@0.6.0 24 silly idealTree +-- fast-deep-equal@1.1.0 24 silly idealTree +-- fast-json-stable-stringify@2.0.0 24 silly idealTree +-- finalhandler@1.1.0 24 silly idealTree |
-- statuses@1.3.1
24 silly idealTree +-- forever-agent@0.6.1
24 silly idealTree +-- form-data@2.3.2
24 silly idealTree +-- forwarded@0.1.2
24 silly idealTree +-- fresh@0.5.2
24 silly idealTree +-- fs.realpath@1.0.0
24 silly idealTree +-- fstream@1.0.11
24 silly idealTree +-- gauge@2.7.4
24 silly idealTree | -- object-assign@4.1.1 24 silly idealTree +-- getpass@0.1.7 24 silly idealTree +-- glob@7.1.2 24 silly idealTree +-- graceful-fs@4.1.11 24 silly idealTree +-- har-schema@2.0.0 24 silly idealTree +-- har-validator@5.0.3 24 silly idealTree +-- has-unicode@2.0.1 24 silly idealTree +-- hawk@6.0.2 24 silly idealTree +-- hoek@4.2.1 24 silly idealTree +-- http-errors@1.6.2 24 silly idealTree |
-- depd@1.1.1
24 silly idealTree +-- http-signature@1.2.0
24 silly idealTree +-- iconv-lite@0.4.19
24 silly idealTree +-- inflight@1.0.6
24 silly idealTree +-- inherits@2.0.3
24 silly idealTree +-- ipaddr.js@1.5.2
24 silly idealTree +-- is-fullwidth-code-point@1.0.0
24 silly idealTree +-- is-typedarray@1.0.0
24 silly idealTree +-- isarray@1.0.0
24 silly idealTree +-- isexe@2.0.0
24 silly idealTree +-- isstream@0.1.2
24 silly idealTree +-- jsbn@0.1.1
24 silly idealTree +-- json-schema-traverse@0.3.1
24 silly idealTree +-- json-schema@0.2.3
24 silly idealTree +-- json-stringify-safe@5.0.1
24 silly idealTree +-- jsprim@1.4.1
24 silly idealTree +-- loadash@1.0.0
24 silly idealTree +-- media-typer@0.3.0
24 silly idealTree +-- merge-descriptors@1.0.1
24 silly idealTree +-- methods@1.1.2
24 silly idealTree +-- mime-db@1.30.0
24 silly idealTree +-- mime-types@2.1.17
24 silly idealTree +-- mime@1.4.1
24 silly idealTree +-- minimatch@3.0.4
24 silly idealTree +-- minimist@0.0.8
24 silly idealTree +-- mkdirp@0.5.1
24 silly idealTree +-- ms@2.0.0
24 silly idealTree +-- multer@1.3.0
24 silly idealTree +-- mysql@2.15.0
24 silly idealTree +-- nan@2.9.2
24 silly idealTree +-- native-node-utils@0.0.0
24 silly idealTree +-- negotiator@0.6.1
24 silly idealTree +-- node-gyp@3.6.2
24 silly idealTree +-- nodemailer@4.4.2
24 silly idealTree +-- nopt@3.0.6
24 silly idealTree +-- npmlog@4.1.2
24 silly idealTree +-- number-is-nan@1.0.1
24 silly idealTree +-- oauth-sign@0.8.2
24 silly idealTree +-- object-assign@3.0.0
24 silly idealTree +-- on-finished@2.3.0
24 silly idealTree +-- once@1.4.0
24 silly idealTree +-- optimist@0.3.7
24 silly idealTree +-- os-homedir@1.0.2
24 silly idealTree +-- os-tmpdir@1.0.2
24 silly idealTree +-- osenv@0.1.5
24 silly idealTree +-- parseurl@1.3.2
24 silly idealTree +-- path-is-absolute@1.0.1
24 silly idealTree +-- path-to-regexp@0.1.7
24 silly idealTree +-- performance-now@2.1.0
24 silly idealTree +-- process-nextick-args@1.0.7
24 silly idealTree +-- proxy-addr@2.0.2
24 silly idealTree +-- punycode@1.4.1
24 silly idealTree +-- qs@6.5.1
24 silly idealTree +-- range-parser@1.2.0
24 silly idealTree +-- raw-body@2.3.2
24 silly idealTree +-- readable-stream@2.3.3
24 silly idealTree +-- rebuild@0.1.2
24 silly idealTree +-- request@2.83.0
24 silly idealTree +-- rimraf@2.6.2
24 silly idealTree +-- safe-buffer@5.1.1
24 silly idealTree +-- semver@5.3.0
24 silly idealTree +-- send@0.16.1
24 silly idealTree | -- statuses@1.3.1 24 silly idealTree +-- serve-static@1.13.1 24 silly idealTree +-- set-blocking@2.0.0 24 silly idealTree +-- setprototypeof@1.0.3 24 silly idealTree +-- signal-exit@3.0.2 24 silly idealTree +-- sntp@2.1.0 24 silly idealTree +-- sqlstring@2.3.0 24 silly idealTree +-- sshpk@1.13.1 24 silly idealTree +-- statuses@1.4.0 24 silly idealTree +-- streamsearch@0.1.2 24 silly idealTree +-- string_decoder@1.0.3 24 silly idealTree +-- string-width@1.0.2 24 silly idealTree +-- stringstream@0.0.5 24 silly idealTree +-- strip-ansi@3.0.1 24 silly idealTree +-- tar@2.2.1 24 silly idealTree +-- tough-cookie@2.3.4 24 silly idealTree +-- tunnel-agent@0.6.0 24 silly idealTree +-- tweetnacl@0.14.5 24 silly idealTree +-- type-is@1.6.15 24 silly idealTree +-- typedarray@0.0.6 24 silly idealTree +-- unpipe@1.0.0 24 silly idealTree +-- util-deprecate@1.0.2 24 silly idealTree +-- utils-merge@1.0.1 24 silly idealTree +-- uuid@3.2.1 24 silly idealTree +-- vary@1.1.2 24 silly idealTree +-- verror@1.10.0 24 silly idealTree +-- which@1.3.0 24 silly idealTree +-- wide-align@1.1.2 24 silly idealTree +-- wordwrap@0.0.3 24 silly idealTree +-- wrappy@1.0.2 24 silly idealTree
-- xtend@4.0.1
25 silly install generateActionsToTake
26 silly diffTrees action count 5
27 silly diffTrees add nan@2.9.2
28 silly diffTrees add face-recognition-models@0.0.0
29 silly diffTrees remove grpc
30 silly diffTrees add native-node-utils@0.0.0
31 silly diffTrees add face-recognition@0.6.0
32 silly decomposeActions action count 33
33 silly decomposeActions fetch nan@2.9.2
34 silly decomposeActions extract nan@2.9.2
35 silly decomposeActions preinstall nan@2.9.2
36 silly decomposeActions build nan@2.9.2
37 silly decomposeActions install nan@2.9.2
38 silly decomposeActions postinstall nan@2.9.2
39 silly decomposeActions finalize nan@2.9.2
40 silly decomposeActions refresh-package-json nan@2.9.2
41 silly decomposeActions fetch face-recognition-models@0.0.0
42 silly decomposeActions extract face-recognition-models@0.0.0
43 silly decomposeActions preinstall face-recognition-models@0.0.0
44 silly decomposeActions build face-recognition-models@0.0.0
45 silly decomposeActions install face-recognition-models@0.0.0
46 silly decomposeActions postinstall face-recognition-models@0.0.0
47 silly decomposeActions finalize face-recognition-models@0.0.0
48 silly decomposeActions refresh-package-json face-recognition-models@0.0.0
49 silly decomposeActions remove grpc
50 silly decomposeActions fetch native-node-utils@0.0.0
51 silly decomposeActions extract native-node-utils@0.0.0
52 silly decomposeActions preinstall native-node-utils@0.0.0
53 silly decomposeActions build native-node-utils@0.0.0
54 silly decomposeActions install native-node-utils@0.0.0
55 silly decomposeActions postinstall native-node-utils@0.0.0
56 silly decomposeActions finalize native-node-utils@0.0.0
57 silly decomposeActions refresh-package-json native-node-utils@0.0.0
58 silly decomposeActions fetch face-recognition@0.6.0
59 silly decomposeActions extract face-recognition@0.6.0
60 silly decomposeActions preinstall face-recognition@0.6.0
61 silly decomposeActions build face-recognition@0.6.0
62 silly decomposeActions install face-recognition@0.6.0
63 silly decomposeActions postinstall face-recognition@0.6.0
64 silly decomposeActions finalize face-recognition@0.6.0
65 silly decomposeActions refresh-package-json face-recognition@0.6.0
66 silly install executeActions
67 silly doSerial global-install 33
68 verbose correctMkdir /home/gokulkeshav/.npm/_locks correctMkdir not in flight; initializing
69 verbose lock using /home/gokulkeshav/.npm/_locks/staging-cb8e4dc972e6f923.lock for /home/gokulkeshav/node_modules/.staging
70 silly doParallel extract 33
71 silly extract nan@2.9.2
72 silly pacote trying nan@https://registry.npmjs.org/nan/-/nan-2.9.2.tgz by hash: sha512-ltW65co7f3PQWBDbqVvaU1WtFJUsNW7sWWm4HINhbMQIyVyzIeyZ8toX5TC5eeooE6piZoaEh4cZkueSKG3KYw==
73 silly extract face-recognition-models@0.0.0
74 silly pacote trying face-recognition-models@https://registry.npmjs.org/face-recognition-models/-/face-recognition-models-0.0.0.tgz by hash: sha512-h3teFmhFxGvbDZ4fXWcgsUFTatvluwBWerlpzL3yqZG6y1heIIkg5CJxlXL5k4NPgLjvskdUOtuM0b8YYHztxg==
75 silly extract native-node-utils@0.0.0
76 silly pacote trying native-node-utils@https://registry.npmjs.org/native-node-utils/-/native-node-utils-0.0.0.tgz by hash: sha512-ER34gOTuK47jkzAoN+0EzPh3bGWxxrn+yN/qA+jCCUB4qcvTLMZfY1B80GReLmZ7guXvxFv73iG40o93Q91ErQ==
77 silly extract face-recognition@0.6.0
78 silly pacote trying face-recognition@https://registry.npmjs.org/face-recognition/-/face-recognition-0.6.0.tgz by hash: sha512-72OUFhHK2nNjt/3tDR0PbQ+JCISwBeHfkpTUNbOy4MQCLLpZMILYCS0j+xNW15MYa+r6RsA1/HncBLwmPXWLVg==
79 silly pacote native-node-utils@https://registry.npmjs.org/native-node-utils/-/native-node-utils-0.0.0.tgz extracted to /home/gokulkeshav/node_modules/.staging/native-node-utils-3261c205 by content address 50ms
80 silly pacote nan@https://registry.npmjs.org/nan/-/nan-2.9.2.tgz extracted to /home/gokulkeshav/node_modules/.staging/nan-cae1bf8e by content address 218ms
81 silly pacote face-recognition@https://registry.npmjs.org/face-recognition/-/face-recognition-0.6.0.tgz extracted to /home/gokulkeshav/node_modules/.staging/face-recognition-2992468d by content address 216ms
82 silly pacote face-recognition-models@https://registry.npmjs.org/face-recognition-models/-/face-recognition-models-0.0.0.tgz extracted to /home/gokulkeshav/node_modules/.staging/face-recognition-models-228675d0 by content address 4074ms
83 silly doReverseSerial remove 33
84 silly remove /home/gokulkeshav/node_modules/grpc
85 verbose unbuild node_modules/grpc
86 silly doSerial move 33
87 silly doSerial finalize 33
88 silly finalize /home/gokulkeshav/node_modules/face-recognition
89 silly finalize /home/gokulkeshav/node_modules/native-node-utils
90 silly finalize /home/gokulkeshav/node_modules/face-recognition-models
91 silly finalize /home/gokulkeshav/node_modules/nan
92 silly doParallel refresh-package-json 33
93 silly refresh-package-json /home/gokulkeshav/node_modules/face-recognition
94 silly refresh-package-json /home/gokulkeshav/node_modules/native-node-utils
95 silly refresh-package-json /home/gokulkeshav/node_modules/face-recognition-models
96 silly refresh-package-json /home/gokulkeshav/node_modules/nan
97 silly doParallel preinstall 33
98 silly preinstall face-recognition@0.6.0
99 info lifecycle face-recognition@0.6.0~preinstall: face-recognition@0.6.0
100 silly preinstall native-node-utils@0.0.0
101 info lifecycle native-node-utils@0.0.0~preinstall: native-node-utils@0.0.0
102 silly preinstall face-recognition-models@0.0.0
103 info lifecycle face-recognition-models@0.0.0~preinstall: face-recognition-models@0.0.0
104 silly preinstall nan@2.9.2
105 info lifecycle nan@2.9.2~preinstall: nan@2.9.2
106 silly lifecycle face-recognition@0.6.0~preinstall: no script for preinstall, continuing
107 silly lifecycle native-node-utils@0.0.0~preinstall: no script for preinstall, continuing
108 silly lifecycle face-recognition-models@0.0.0~preinstall: no script for preinstall, continuing
109 silly lifecycle nan@2.9.2~preinstall: no script for preinstall, continuing
110 silly doSerial build 33
111 silly build face-recognition@0.6.0
112 info linkStuff face-recognition@0.6.0
113 silly linkStuff face-recognition@0.6.0 has /home/gokulkeshav/node_modules as its parent node_modules
114 verbose linkBins face-recognition@0.6.0
115 verbose linkMans face-recognition@0.6.0
116 silly build native-node-utils@0.0.0
117 info linkStuff native-node-utils@0.0.0
118 silly linkStuff native-node-utils@0.0.0 has /home/gokulkeshav/node_modules as its parent node_modules
119 verbose linkBins native-node-utils@0.0.0
120 verbose linkMans native-node-utils@0.0.0
121 silly build face-recognition-models@0.0.0
122 info linkStuff face-recognition-models@0.0.0
123 silly linkStuff face-recognition-models@0.0.0 has /home/gokulkeshav/node_modules as its parent node_modules
124 verbose linkBins face-recognition-models@0.0.0
125 verbose linkMans face-recognition-models@0.0.0
126 silly build nan@2.9.2
127 info linkStuff nan@2.9.2
128 silly linkStuff nan@2.9.2 has /home/gokulkeshav/node_modules as its parent node_modules
129 verbose linkBins nan@2.9.2
130 verbose linkMans nan@2.9.2
131 silly doSerial global-link 33
132 silly doParallel update-linked 33
133 silly doSerial install 33
134 silly install face-recognition@0.6.0
135 info lifecycle face-recognition@0.6.0~install: face-recognition@0.6.0
136 verbose lifecycle face-recognition@0.6.0~install: unsafe-perm in lifecycle true
137 verbose lifecycle face-recognition@0.6.0~install: PATH: /home/gokulkeshav/.nvm/versions/node/v8.0.0/lib/node_modules/npm/bin/node-gyp-bin:/home/gokulkeshav/node_modules/face-recognition/node_modules/.bin:/home/gokulkeshav/node_modules/.bin:/home/gokulkeshav/.nvm/versions/node/v8.0.0/bin:/home/gokulkeshav/bin:/home/gokulkeshav/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
138 verbose lifecycle face-recognition@0.6.0~install: CWD: /home/gokulkeshav/node_modules/face-recognition
139 silly lifecycle face-recognition@0.6.0~install: Args: [ '-c', 'node-gyp rebuild' ]
140 silly lifecycle face-recognition@0.6.0~install: Returned: code: 1 signal: null
141 info lifecycle face-recognition@0.6.0~install: Failed to exec install script
142 verbose unlock done using /home/gokulkeshav/.npm/_locks/staging-cb8e4dc972e6f923.lock for /home/gokulkeshav/node_modules/.staging
143 warn gokulkeshav@1.0.0 No description
144 warn gokulkeshav@1.0.0 No repository field.
145 verbose stack Error: face-recognition@0.6.0 install: node-gyp rebuild
145 verbose stack Exit status 1
145 verbose stack at EventEmitter.node-gyp rebuild
154 error Exit status 1
155 error Failed at the face-recognition@0.6.0 install script.
155 error This is probably not a problem with npm. There is likely additional logging output above.
156 verbose exit [ 1, true ]
delete node_module & install again
same issue
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4 npm WARN optional Skipping failed optional dependency /babel-cli/chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.4 npm WARN enoent ENOENT: no such file or directory, open '/var/www/ethnamed/node_modules/set-value/package.json' npm WARN react-file-base64@1.0.3 requires a peer of react@^15.0.2 but none was installed. npm WARN react-file-input@0.2.5 requires a peer of react@0.x but none was installed. npm WARN react-material-iconic-font@1.2.1 requires a peer of material-design-iconic-font@^2.2.0 but none was installed. npm WARN react-material-iconic-font@1.2.1 requires a peer of react@^0.14.7 but none was installed. npm WARN react-material-iconic-font@1.2.1 requires a peer of react-dom@^0.14.7 but none was installed. npm ERR! Linux 4.15.18-3-pve npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "face-recognition" npm ERR! node v6.11.4 npm ERR! npm v3.5.2 npm ERR! code ELIFECYCLE
npm ERR! face-recognition@0.9.3 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the face-recognition@0.9.3 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the face-recognition package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs face-recognition
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls face-recognition
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /var/www/ethnamed/npm-debug.log
First of all, great looking lib
Every time I try to install it gets stuck on
extract:face-recognition: sill extract face-recognition@
node: 9.2.0 npm: 5.6.0 macOS: High Sierra 10.13.2