Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem w/ subdirs in packag.json bin #115

F1LT3R opened this issue Apr 27, 2018 · 0 comments


Copy link

commented Apr 27, 2018

I am getting "node/no-unpublished-bin" when I place my bin files in a sub directory.

screen shot 2018-04-27 at 11 57 21 am

screen shot 2018-04-27 at 11 58 33 am


  "name": "test",
  "bin": {
    "test": "lib/test.js"
  "files": [


#!/usr/bin/env node


Is this expected? I'm reading the no-unpublished-bin doc, but I'm not seeing why NPM would ignore my ./lib/test.js. Especially seeing npm link and then test logs 1 to my console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.