levelui icon indicating copy to clipboard operation
levelui copied to clipboard

Problem when rebuilding atom-shell

Open misaka-10032 opened this issue 10 years ago • 2 comments

../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.

misaka-10032 avatar Feb 22 '15 14:02 misaka-10032

Ah, actually, it should be using the latest version of atom-shell, but the atom-shell module is still referencing an older version of atom-shell. I installing atom-shell manually at the moment.

heapwolf avatar Feb 23 '15 13:02 heapwolf

Open to a fix/PR for dealing with this.

heapwolf avatar Feb 23 '15 13:02 heapwolf