sanathkr / go-npm

Distribute and install Go binaries via NPM
Apache License 2.0
171 stars 56 forks source link

getInstallationPath works incorrect, the binary is being placed at `node_modules/.bin` inside package #6

Open maple-leaf opened 5 years ago

maple-leaf commented 5 years ago

Try install happydoc by npm i happydoc@0.0.4.

happydoc binary is available at node_modules/happydoc/node_modules/.bin instead of node_modules/.bin

os: macos node version: v8.11.3 npm version: 5.6.0

maple-leaf commented 5 years ago

please check the fix PR :-)

maple-leaf commented 5 years ago

For anyone who have this issue, and before the fix PR is being merged, you can try the fixed version: @maple-leaf/go-npm