Skip to content

Problem when rebuilding atom-shell #41

Description

@misaka-10032

../node_modules/nan/nan.h:200:13: error: no type named 'SetCounterFunction' in 'v8::V8'
v8::V8::SetCounterFunction(cb);
~~~~~~~~^
../node_modules/nan/nan.h:205:13: error: no type named 'SetCreateHistogramFunction' in 'v8::V8'
v8::V8::SetCreateHistogramFunction(cb);
~~~~~~~~^
../node_modules/nan/nan.h:210:13: error: no type named 'SetAddHistogramSampleFunction' in 'v8::V8'
v8::V8::SetAddHistogramSampleFunction(cb);
~~~~~~~~^
../node_modules/nan/nan.h:214:12: error: no member named 'IdleNotification' in 'v8::V8'; did you mean 'NanIdleNotification'?
return v8::V8::IdleNotification(idle_time_in_ms);
^~~~~~~~~~~~~~~~~~~~~~~~
NanIdleNotification
../node_modules/nan/nan.h:213:19: note: 'NanIdleNotification' declared here
NAN_INLINE bool NanIdleNotification(int idle_time_in_ms) {
^
../node_modules/nan/nan.h:218:5: error: no member named 'LowMemoryNotification' in 'v8::V8'; did you mean 'NanLowMemoryNotification'?
v8::V8::LowMemoryNotification();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NanLowMemoryNotification
../node_modules/nan/nan.h:217:19: note: 'NanLowMemoryNotification' declared here
NAN_INLINE void NanLowMemoryNotification() {
^
../node_modules/nan/nan.h:222:5: error: no member named 'ContextDisposedNotification' in 'v8::V8'; did you mean 'NanContextDisposedNotification'?
v8::V8::ContextDisposedNotification();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NanContextDisposedNotification
../node_modules/nan/nan.h:221:19: note: 'NanContextDisposedNotification' declared here
NAN_INLINE void NanContextDisposedNotification() {
^
6 errors generated.
make: *** [Release/obj.target/leveldown/src/batch.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/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "rebuild" "--target=0.19.5" "--arch=ia64" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist"
gyp ERR! cwd /opt/levelui/node_modules/level/node_modules/leveldown
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

It seems you use an older version of node? Anyway it's not a good idea to rebuild some older version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions