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

add dep for script-compiler #51

Merged
merged 1 commit into from
May 27, 2021
Merged

add dep for script-compiler #51

merged 1 commit into from
May 27, 2021

Conversation

ylc395
Copy link
Contributor

@ylc395 ylc395 commented May 27, 2021

@textlint/textlint-plugin-text must be added into dependencies. Otherwise we will get the following error when execute textlint-script-compiler command:

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

@azu
Copy link
Member

azu commented May 27, 2021

Thanks!
Probably, we need to add @textlint/markdown too.

? ["@textlint/text", "@textlint/markdown"].concat(packageOptions.rawConfig?.plugins ?? [])

@azu azu added the Type: Bug Bug or Bug fixes label May 27, 2021
@ylc395
Copy link
Contributor Author

ylc395 commented May 27, 2021

Thanks!
Probably, we need to add @textlint/markdown too.

? ["@textlint/text", "@textlint/markdown"].concat(packageOptions.rawConfig?.plugins ?? [])

done

@azu azu merged commit 85cca5f into textlint:master May 27, 2021
@ylc395 ylc395 deleted the add-dep branch May 27, 2021 06:08
@azu
Copy link
Member

azu commented May 27, 2021

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

Successfully merging this pull request may close these issues.

None yet

2 participants