hack
hack copied to clipboard
Can't install
Whenever I run the first line this happens
jonahgluck@Adams-MacBook-Air ~ % git clone https://github.com/ccorcos/hack.git
git remote remove origin
cd hack
npm install
npm link
fatal: destination path 'hack' already exists and is not an empty directory.
fatal: not a git repository (or any of the parent directories): .git
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '5.9.1' },
npm WARN EBADENGINE current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
up to date, audited 88 packages in 392ms
16 packages are looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '5.9.1' },
npm WARN EBADENGINE current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '5.9.1' },
npm WARN EBADENGINE current: { node: 'v18.16.0', npm: '9.5.1' }
npm WARN EBADENGINE }
npm ERR! code EACCES
npm ERR! syscall symlink
npm ERR! path ../../../../Users/jonahgluck/hack
npm ERR! dest /usr/local/lib/node_modules/hack
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, symlink '../../../../Users/jonahgluck/hack' -> '/usr/local/lib/node_modules/hack'
npm ERR! [Error: EACCES: permission denied, symlink '../../../../Users/jonahgluck/hack' -> '/usr/local/lib/node_modules/hack'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../../../../Users/jonahgluck/hack',
npm ERR! dest: '/usr/local/lib/node_modules/hack'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jonahgluck/.npm/_logs/2024-03-13T12_01_07_638Z-debug-0.log
jonahgluck@Adams-MacBook-Air hack %
Hmm. How familiar are you with programming? The issue is with npm link
not having permission. But you can just use the script at scripts/hack
instead.
That said, this package can really expose your machine if you don't know what you're doing. So I'd be careful... if you couldn't solve this issue yourself, then I'm not sure you should try to use it because you could hurt yourself.
Good luck!
hi i think i messed around too added alot of apps and used root perms and did some random shit idk anything bout programming, in case i have exposed my machine what steps should i take to reverse the damage thanks
If you're worried about it, you're best bet is to backup your files and clean reinstall the operating system. Given what you said, it could be nothing, or the sky is the limit. You just never know. It's never bad idea to do a credit freeze in case someone finds a picture of your ID or something...