npm bin command - not recognized as an internal or external command
问题 i'm having problem with bin command. If I understand documentation correctly then after runing command from bin it should execute the file So in my case package.json looks like: "author": "Andurit", "license": "contact author", "bin": { "shared-lib": "./node_modules/shared-lib-cli/bin/index.js" }, So I would expect that shared-lib in command line will execute ./path/bin/index.js Instead of that, I'm getting a command line error : shared-lib is not recognized as an internal or external command