You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like I've stumbled upon another one of your sweet packages. This error came up when I tried to install I was wondering if you were aware / knew why. I was just following this tutorial on mac status bar apps. Thanks a bunch, hope all is well!!
thomas@workstation:menubar$ sudo npm install NodObjC
Password:
npm info it worked if it ends with ok
npm info using npm@1.4.14
npm info using node@v0.11.12
npm WARN package.json cradle@0.6.4 No repository field.
npm WARN package.json requirejs@2.1.5 No repository field.
npm info trying registry request attempt 1 at 11:36:15
npm http GET http://registry.npmjs.org/NodObjC
npm http 304 http://registry.npmjs.org/NodObjC
npm info install NodObjC@1.0.0 into /Users/thomas
npm info installOne NodObjC@1.0.0
npm info /Users/thomas/node_modules/NodObjC unbuild
npm info preinstall NodObjC@1.0.0
npm info trying registry request attempt 1 at 11:36:16
npm http GET http://registry.npmjs.org/ffi
npm info trying registry request attempt 1 at 11:36:16
npm http GET http://registry.npmjs.org/debug
npm info trying registry request attempt 1 at 11:36:16
npm http GET http://registry.npmjs.org/ref
npm info trying registry request attempt 1 at 11:36:16
npm http GET http://registry.npmjs.org/ref-struct
npm http 304 http://registry.npmjs.org/debug
npm http 304 http://registry.npmjs.org/ref
npm http 304 http://registry.npmjs.org/ffi
npm http 304 http://registry.npmjs.org/ref-struct
npm info install debug@2.0.0 into /Users/thomas/node_modules/NodObjC
npm info install ref@0.3.2 into /Users/thomas/node_modules/NodObjC
npm info install ffi@1.2.7 into /Users/thomas/node_modules/NodObjC
npm info install ref-struct@0.0.6 into /Users/thomas/node_modules/NodObjC
npm info installOne debug@2.0.0
npm info installOne ref@0.3.2
npm info installOne ffi@1.2.7
npm info installOne ref-struct@0.0.6
npm info /Users/thomas/node_modules/NodObjC/node_modules/debug unbuild
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref unbuild
npm info /Users/thomas/node_modules/NodObjC/node_modules/ffi unbuild
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref-struct unbuild
npm info preinstall debug@2.0.0
npm info preinstall ref-struct@0.0.6
npm info trying registry request attempt 1 at 11:36:16
npm http GET http://registry.npmjs.org/ms
npm http 304 http://registry.npmjs.org/ms
npm info install debug@1.0.4 into /Users/thomas/node_modules/NodObjC/node_modules/ref-struct
npm info installOne debug@1.0.4
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref-struct/node_modules/debug unbuild
npm info install ms@0.6.2 into /Users/thomas/node_modules/NodObjC/node_modules/debug
npm info installOne ms@0.6.2
npm info /Users/thomas/node_modules/NodObjC/node_modules/debug/node_modules/ms unbuild
npm info preinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/debug/node_modules/ms
npm info linkStuff ms@0.6.2
npm info install ms@0.6.2
npm info postinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/debug
npm info linkStuff debug@2.0.0
npm info install debug@2.0.0
npm info postinstall debug@2.0.0
npm info preinstall debug@1.0.4
npm info install ms@0.6.2 into /Users/thomas/node_modules/NodObjC/node_modules/ref-struct/node_modules/debug
npm info installOne ms@0.6.2
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref-struct/node_modules/debug/node_modules/ms unbuild
npm info preinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref-struct/node_modules/debug/node_modules/ms
npm info linkStuff ms@0.6.2
npm info install ms@0.6.2
npm info postinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref-struct/node_modules/debug
npm info linkStuff debug@1.0.4
npm info install debug@1.0.4
npm info postinstall debug@1.0.4
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref-struct
npm info linkStuff ref-struct@0.0.6
npm info install ref-struct@0.0.6
npm info postinstall ref-struct@0.0.6
npm info preinstall ref@0.3.2
npm info trying registry request attempt 1 at 11:36:17
npm http GET http://registry.npmjs.org/bindings
npm info trying registry request attempt 1 at 11:36:17
npm http GET http://registry.npmjs.org/nan
npm http 304 http://registry.npmjs.org/bindings
npm http 304 http://registry.npmjs.org/nan
npm info install debug@1.0.4 into /Users/thomas/node_modules/NodObjC/node_modules/ref
npm info install bindings@1.2.1 into /Users/thomas/node_modules/NodObjC/node_modules/ref
npm info install nan@1.2.0 into /Users/thomas/node_modules/NodObjC/node_modules/ref
npm info installOne debug@1.0.4
npm info installOne bindings@1.2.1
npm info installOne nan@1.2.0
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/debug unbuild
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/bindings unbuild
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/nan unbuild
npm info preinstall debug@1.0.4
npm info preinstall bindings@1.2.1
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/bindings
npm info linkStuff bindings@1.2.1
npm info install bindings@1.2.1
npm info postinstall bindings@1.2.1
npm info install ms@0.6.2 into /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/debug
npm info installOne ms@0.6.2
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/debug/node_modules/ms unbuild
npm info preinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/debug/node_modules/ms
npm info linkStuff ms@0.6.2
npm info install ms@0.6.2
npm info postinstall ms@0.6.2
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/debug
npm info linkStuff debug@1.0.4
npm info install debug@1.0.4
npm info postinstall debug@1.0.4
npm info preinstall nan@1.2.0
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref/node_modules/nan
npm info linkStuff nan@1.2.0
npm info install nan@1.2.0
npm info postinstall nan@1.2.0
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ref
npm info linkStuff ref@0.3.2
npm info install ref@0.3.2
> ref@0.3.2 install /Users/thomas/node_modules/NodObjC/node_modules/ref
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.13.1
gyp info using node@0.11.12 | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
'-I', spawn args-
gyp info spawn args '/Users/thomas/node_modules/NodObjC/node_modules/ref/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/thomas/.node-gyp/0.11.12/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/thomas/.node-gyp/0.11.12',
gyp info spawn args '-Dmodule_root_dir=/Users/thomas/node_modules/NodObjC/node_modules/ref',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
/
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
\
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
-
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 69
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:107:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1045:12)
gyp ERR! System Darwin 13.3.0
command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thomas/node_modules/NodObjC/node_modules/ref
gyp ERR! node -v v0.11.12
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm info preinstall ffi@1.2.7
npm info install bindings@1.2.1 into /Users/thomas/node_modules/NodObjC/node_modules/ffi
npm info installOne bindings@1.2.1
npm info /Users/thomas/node_modules/NodObjC/node_modules/ffi/node_modules/bindings unbuild
npm info preinstall bindings@1.2.1
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ffi/node_modules/bindings
npm info linkStuff bindings@1.2.1
npm info install bindings@1.2.1
npm info postinstall bindings@1.2.1
npm info build /Users/thomas/node_modules/NodObjC/node_modules/ffi
npm info linkStuff ffi@1.2.7
npm info install ffi@1.2.7
npm info ref@0.3.2 Failed to exec install script
npm info /Users/thomas/node_modules/NodObjC/node_modules/ref unbuild
npm info preuninstall ref@0.3.2
> ffi@1.2.7 install /Users/thomas/node_modules/NodObjC/node_modules/ffi
> node-gyp rebuild
|
node.js:709
var cwd = process.cwd();
^
Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:709:23)
at startup (node.js:63:13)
at node.js:803:3
npm info uninstall ref@0.3.2
npm info postuninstall ref@0.3.2
npm info /Users/thomas/node_modules/NodObjC unbuild
npm info preuninstall NodObjC@1.0.0
npm info uninstall NodObjC@1.0.0
npm info postuninstall NodObjC@1.0.0
npm ERR! ref@0.3.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ref@0.3.2 install script.
npm ERR! This is most likely a problem with the ref 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 their info via:
npm ERR! npm owner ls ref
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "NodObjC"
npm ERR! cwd /Users/thomas/Desktop/menubar
npm ERR! node -v v0.11.12
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm info ffi@1.2.7 Failed to exec install script
npm info /Users/thomas/node_modules/NodObjC/node_modules/ffi unbuild
npm info preuninstall ffi@1.2.7
npm info uninstall ffi@1.2.7
npm info postuninstall ffi@1.2.7
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/thomas/Desktop/menubar/npm-debug.log
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered:
@reggi Hi Thomas, A few things I saw here seemed peculiar:
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Can you try opening up Xcode and agreeing to the terms of service? It doesn't appear that a compile actually happened (And subsequent errors may be due to this).
npm info using node@v0.11.12
Also, it appears you're using node 11, node 10 is currently supported however node 11 is not. Feel free to open this back up if you have further information or if I misunderstood the issue.
Howdy @TooTallNate!!
Looks like I've stumbled upon another one of your sweet packages. This error came up when I tried to install I was wondering if you were aware / knew why. I was just following this tutorial on mac status bar apps. Thanks a bunch, hope all is well!!
The text was updated successfully, but these errors were encountered: