sandeepmistry / node-xpc-connection

MIT License
35 stars 29 forks source link

symbolic link pointing to itself OSX 10.12.6 #23

Open crashflow opened 6 years ago

crashflow commented 6 years ago

I get xpc-connection installed, but when it finishes, it creates a symbolic link to itself:

lrwxr-xr-x 1 root 1012157403 14 Apr 3 06:45 xpc-connection -> xpc-connection

I used the path that you asked we use. I reinstalled gyp. I've used node 4.7 and 8.9

I removed the link, and now when I go to install I get -

npm ERR! Could not install from "node_modules/xpc-connection" as it does not contain a package.json file.

noble and bleno are installed and i had this working a month ago with no problems...

Any help is greatly appreciated.

crashflow commented 6 years ago

I managed to work around it. I git cloned it into node-xpc-connection. Went into the directory. sudo node-gyp rebuild - then did sudo npm install. Then copied the contents over to xpc-connection. It works.

I have no idea what is going wrong though. I just installed "request" with no issues.