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

No lib directory in published package #1

Closed
io-monad opened this issue May 7, 2016 · 2 comments · Fixed by #2
Closed

No lib directory in published package #1

io-monad opened this issue May 7, 2016 · 2 comments · Fixed by #2
Assignees

Comments

@io-monad
Copy link

io-monad commented May 7, 2016

[email protected] seems to have no lib directory and cannot be loaded.

$ npm i -D textlint-rule-max-comma
# ... snip ...
$ $(npm bin)/textlint --rule max-comma test.md
/Users/io-monad/tmp/textlint-test/node_modules/textlint/lib/engine/textlint-module-resolver.js:88
                throw new ReferenceError("Failed to load textlint's rule module: \"" + packageName + "\" is not found.\nSee FAQ: https://github.com/textlint/textlint/blob/master/docs/faq/failed-to-load-textlints-module.md\n");
                ^

ReferenceError: Failed to load textlint's rule module: "max-comma" is not found.
See FAQ: https://github.com/textlint/textlint/blob/master/docs/faq/failed-to-load-textlints-module.md

# ... snip ...
$ ls node_modules/textlint-rule-max-comma
LICENSE      README.md    package.json src          test
@azu azu self-assigned this May 8, 2016
azu added a commit that referenced this issue May 8, 2016
@azu azu closed this as completed in #2 May 8, 2016
azu added a commit that referenced this issue May 8, 2016
* No lib directory in published package

close #1

* fix(npm): add files
@azu
Copy link
Member

azu commented May 8, 2016

Thanks.
I fixed this issue and publish [email protected]

@io-monad
Copy link
Author

io-monad commented May 8, 2016

Thanks for a quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants