Closed tjesp closed 4 years ago
Or perhaps you can help with my issue. This is what I get. I have no idea what to do:
Thomass-Mac-mini:Feed thomasjespersen$ npm install -g nyuu /Users/thomasjespersen/.npm-packages/bin/nyuu -> /Users/thomasjespersen/.npm-packages/lib/node_modules/nyuu/bin/nyuu.js
yencode@1.0.8 install /Users/thomasjespersen/.npm-packages/lib/node_modules/nyuu/node_modules/yencode node-gyp rebuild
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
gyp ERR! configure error
gyp ERR! stack Error: gyp
failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Users/thomasjespersen/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.0.0
gyp ERR! command "/usr/local/Cellar/node/12.12.0/bin/node" "/Users/thomasjespersen/.npm-packages/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/thomasjespersen/.npm-packages/lib/node_modules/nyuu/node_modules/yencode
gyp ERR! node -v v12.12.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yencode@1.0.8 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yencode@1.0.8 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! /Users/thomasjespersen/.npm/_logs/2019-10-22T20_23_48_295Z-debug.log
Unfortunately I don't have a Mac, so what I can do on the platform is very limited.
As for your build error, it looks like you need Xcode installed. From searching around, you can probably get it from the App Store.
Thanks.
I am a bit further now. Now I get this. There were more errors than this. Tell if you need them all:
../yencode.cc:1544:6: error: variable has incomplete type 'void' void init(Handle
npm ERR! A complete log of this run can be found in: npm ERR! /Users/thomasjespersen/.npm/_logs/2019-10-22T21_04_37_010Z-debug.log
It looks like you're using Node v12.x, where it currently doesn't work. Are you able to uninstall Node v12 and try v10 instead?
Yes I could! Thanks. Now it is working.
PS: Any other Mac users should use "brew install node@10"
Thanks for trying it out and posting the results!
I am having huge problems building this on Mac OS. I am not a programmer and I have no idea what node is complaining about.
Is it possible we can have a Mac binary build? I know its a bit much to ask if you need to get a Mac but is there a possibility that someone could make that build for you?