go-npm icon indicating copy to clipboard operation
go-npm copied to clipboard

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

Open maple-leaf opened this issue 6 years ago • 2 comments

Try install happydoc by npm i [email protected].

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 avatar Dec 10 '18 09:12 maple-leaf

please check the fix PR :-)

maple-leaf avatar Dec 11 '18 05:12 maple-leaf

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

maple-leaf avatar Dec 11 '18 05:12 maple-leaf