node-inspector / v8-debug

v8 debugger extending API
BSD 2-Clause "Simplified" License
45 stars 21 forks source link

npm install --dev failed when executing 'node-pre-gyp install --fallback-to-build #33

Open chlee0216 opened 7 years ago

chlee0216 commented 7 years ago

I don't know the exact detail of why this kind of crash happened, as I am a beginner to MEAN stack. I used meanjs to get the full stack template of it, and when I hit 'npm install --dev', I got the following messages

I think that when executing the command 'node-pre-gyp install --fallback-to-build', an error occurred, creating others. But just in case, I copied & pasted the error log message below.

////-MacBook-Air:Mochidoki3 chlee021690$ npm install --dev
npm WARN install Usage of the `--dev` option is deprecated. Use `--only=dev` instead.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

> v8-debug@0.4.6 preinstall /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/.staging/v8-debug-1d9b8cae
>  

npm WARN prefer global node-inspector@0.9.2 should be installed with -g

> v8-debug@0.4.6 install /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v0.4.6/node-v51-darwin-x64.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for v8-debug@0.4.6 and node@7.2.0 (node-v51 ABI) (falling back to source compile with node-gyp) 
2016-11-26 15:23:21.090 xcodebuild[3717:242370] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
  CXX(target) Release/obj.target/debug/src/debug.o
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
  return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                            ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: 'New' has been explicitly marked deprecated here
  V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                       ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
  return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                             ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: 'Compile' has been explicitly marked deprecated here
      Local<Script> Compile(Isolate* isolate, Source* source,
                    ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
  return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                             ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: 'Compile' has been explicitly marked deprecated here
      Local<Script> Compile(Isolate* isolate, Source* source,
                    ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
  return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
                     ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
      Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                    ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
  return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                     ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: 'NewExternal' has been explicitly marked deprecated here
                       Local<String> NewExternal(
                                     ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
  return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                             ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: 'CompileUnbound' has been explicitly marked deprecated here
                       Local<UnboundScript> CompileUnbound(
                                            ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
  return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                             ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: 'CompileUnbound' has been explicitly marked deprecated here
                       Local<UnboundScript> CompileUnbound(
                                            ^
In file included from ../src/debug.cc:2:
../../nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../../nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../../nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]
    return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                      ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: 'IdleNotification' has been explicitly marked deprecated here
                bool IdleNotification(int idle_time_in_ms));
                     ^
In file included from ../src/debug.cc:2:
../../nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback) {
      ~~~~~~~~~~~~~^
../../nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback
      ~~~~~~~~~~~~~^
../../nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback) {
      ~~~~~~~~~~~~~^
../../nan/nan.h:569:15: error: no type named 'WeakCallbackData' in namespace 'v8'
    const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
          ~~~~^
../../nan/nan.h:569:31: error: expected ')'
    const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                              ^
../../nan/nan.h:568:41: note: to match this '('
  static void _NanWeakCallbackDispatcher(
                                        ^
../../nan/nan.h:570:42: error: use of undeclared identifier 'data'
      _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                         ^
../../nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../../nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/node_buffer.h:34:40: note: candidate function not viable: no known conversion from 'const char *' to 'v8::Local<v8::String>' for 2nd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/debug.cc:2:
../../nan/nan.h:676:12: error: no viable conversion from returned value of type 'v8::MaybeLocal<v8::Object>' to function return type 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:219:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:219:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object> &&' for 1st argument
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:223:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
In file included from ../src/debug.cc:2:
../../nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
../../nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                               ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: 'Compile' has been explicitly marked deprecated here
      Local<Script> Compile(Isolate* isolate, Source* source,
                    ^
In file included from ../src/debug.cc:2:
../../nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
    return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                               ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: 'Compile' has been explicitly marked deprecated here
      Local<Script> Compile(Isolate* isolate, Source* source,
                    ^
../src/debug.cc:18:27: error: too few arguments to function call, expected at least 2, have 1
        v8::Debug::Call(fn);
        ~~~~~~~~~~~~~~~   ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8-debug.h:198:3: note: 'Call' declared here
  static MaybeLocal<Value> Call(Local<Context> context,
  ^
../src/debug.cc:28:65: error: too few arguments to function call, single argument 'isolate' was not specified
        v8::Isolate* debug_isolate = v8::Debug::GetDebugContext()->GetIsolate();
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8-debug.h:248:3: note: 'GetDebugContext' declared here
  static Local<Context> GetDebugContext(Isolate* isolate);
  ^
../src/debug.cc:43:69: error: too few arguments to function call, single argument 'isolate' was not specified
        v8::Context::Scope context_scope(v8::Debug::GetDebugContext());
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8-debug.h:248:3: note: 'GetDebugContext' declared here
  static Local<Context> GetDebugContext(Isolate* isolate);
  ^
../src/debug.cc:93:22: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
        v8::TryCatch tryCatch;
                     ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:7015:40: note: 'TryCatch' has been explicitly marked deprecated here
  V8_DEPRECATED("Use isolate version", TryCatch());
                                       ^
../src/debug.cc:119:17: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
        object->ForceSet(args[1], args[2], v8::DontEnum);
                ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:2705:22: note: 'ForceSet' has been explicitly marked deprecated here
                bool ForceSet(Local<Value> key, Local<Value> value,
                     ^
../src/debug.cc:194:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
          result_type = "";
                        ^
../src/debug.cc:201:26: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
            v8::TryCatch tryCatch;
                         ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:7015:40: note: 'TryCatch' has been explicitly marked deprecated here
  V8_DEPRECATED("Use isolate version", TryCatch());
                                       ^
../src/debug.cc:202:56: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
            v8::Local<v8::Value> constructor = object->GetRealNamedProperty(constructorSymbol);
                                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:2949:30: note: 'GetRealNamedProperty' has been explicitly marked deprecated here
                Local<Value> GetRealNamedProperty(Local<String> key));
                             ^
../src/debug.cc:293:22: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
        v8::TryCatch tryCatch;
                     ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:7015:40: note: 'TryCatch' has been explicitly marked deprecated here
  V8_DEPRECATED("Use isolate version", TryCatch());
                                       ^
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:230:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:189:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:24:
In file included from /Users/chlee021690/.node-gyp/7.2.0/include/node/node.h:42:
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:230:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:189:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:24:
In file included from /Users/chlee021690/.node-gyp/7.2.0/include/node/node.h:42:
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:230:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:189:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/debug.cc:2:
In file included from ../../nan/nan.h:24:
In file included from /Users/chlee021690/.node-gyp/7.2.0/include/node/node.h:42:
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:230:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chlee021690/.node-gyp/7.2.0/include/node/v8.h:189:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
18 warnings and 20 errors generated.
make: *** [Release/obj.target/debug/src/debug.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:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.1.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64/debug.node" "--module_name=debug" "--module_path=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64"
gyp ERR! cwd /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug
gyp ERR! node -v v7.2.0
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/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64/debug.node --module_name=debug --module_path=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:885:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Darwin 16.1.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug
node-pre-gyp ERR! node -v v7.2.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.31
node-pre-gyp ERR! not ok 
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64/debug.node --module_name=debug --module_path=/Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/node_modules/v8-debug/build/debug/v0.4.6/node-v51-darwin-x64' (1)
mochidoki@0.0.1 /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3
├── UNMET PEER DEPENDENCY grunt@~0.4.0
└── UNMET PEER DEPENDENCY mocha@>=1.20.0

npm WARN grunt-contrib-csslint@0.3.1 requires a peer of grunt@~0.4.0 but none was installed.
npm WARN grunt-contrib-cssmin@0.10.0 requires a peer of grunt@~0.4.1 but none was installed.
npm WARN grunt-contrib-jshint@0.10.0 requires a peer of grunt@~0.4.0 but none was installed.
npm WARN grunt-contrib-uglify@0.6.0 requires a peer of grunt@~0.4.0 but none was installed.
npm WARN grunt-contrib-watch@0.6.1 requires a peer of grunt@~0.4.0 but none was installed.
npm WARN grunt-karma@0.9.0 requires a peer of grunt@0.4.x but none was installed.
npm WARN grunt-mocha-test@0.12.7 requires a peer of mocha@>=1.20.0 but none was installed.
npm WARN grunt-ng-annotate@0.4.0 requires a peer of grunt@~0.4.1 but none was installed.
npm WARN grunt-nodemon@0.3.0 requires a peer of grunt@~0.4.1 but none was installed.
npm WARN grunt-node-inspector@0.1.6 requires a peer of grunt@~0.4.2 but none was installed.
npm WARN mochidoki@0.0.1 No repository field.
npm WARN mochidoki@0.0.1 No license field.
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--dev"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE

npm ERR! v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'.
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 v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/chlee021690/Desktop/Programming/JavaScript/Mochidoki3/npm-debug.log
npm ERR! code 1
BigfootN commented 7 years ago

Same issue here

se-rdoyle commented 7 years ago

I'm having this same problem. Any ideas?

Node: v7.2.0 NPM: v4.0.2

ysangkok commented 7 years ago

v8-debug does not work with Node 7, try downgrading to 6.

se-rdoyle commented 7 years ago

I have downgraded to 6.6.0 from 7.2.0 and it works again. I originally had the error on 6.3.0 which I upgraded to the latest, but I'll have to wait until 7.x.x support comes in before I update.