-
Notifications
You must be signed in to change notification settings - Fork 8
Uncaught Error: Cannot find module 'remark-lint-no-empty-sections' #51
Comments
Did you run |
Just ran |
I've got a similar issue with "remark-lint-sentence-newline" (an external linter rule). Atom Version: 1.7.4 Stack TraceUncaught Error: Cannot find module 'remark-lint-sentence-newline'
Config{
"core": {
"themes": [
"atom-light-ui",
"atom-light-syntax"
]
}
} Installed Packages# User
activate-power-mode, v0.5.2
color-picker, v2.1.1
editorconfig, v1.4.1
file-icons, v1.7.12
goto-last-edit, v0.3.0
linter, v1.11.4
linter-eslint, v7.2.2
linter-less, v2.5.0
linter-markdown, v1.5.0
markdown-scroll-sync, v2.1.2
minimap, v4.24.2
open-recent, v5.0.0
project-manager, v2.9.7
react, v0.15.0
# Dev
No dev packages .remarkrc{
"plugins": {
"lint": {
"external": ["remark-lint-sentence-newline"],
"no-multiple-toplevel-headings": false,
"list-item-indent": false,
"emphasis-marker": "_",
"hard-break-spaces": true,
"heading-style": "setext",
"fenced-code-marker": "`",
"final-newline": true,
"maximum-line-length": false,
"no-html": false,
"no-multiple-toplevel-headings": true
}
},
"settings": {
"commonmark": true
}
} |
@kachkaev I'm not sure that global plugins are supported... does it work if you install the plugin in the project? |
@Arcanemagus unfortunatelly it does not. Tried both on Ubuntu and OSX. MWE: |
Quite the pickle! Thanks for the detailed project, @kachkaev. I believe, due to some change in atom, remark-lint is no longer able to detect which project the atom-linter is running on, so it can’t seem to find the |
@Arcanemagus P.S. Partial support (for globals), could be added by updating remark-lint to 3.2.0-3.2.1, for now. |
This is fixed, but unfortunately there’s an error in that external rule, which I PRd and you can follow here: why-jay/remark-lint-sentence-newline#23. |
Great, thanks @wooorm! I also encountered that external issue and was about to report it. Happy to see a pull request from you in the repo instead! |
@wooorm I wonder if it would be beneficial to pin the versions of remark / remark-lint so GreenKeeper would send a PR for every version? |
@Arcanemagus, yeah, I think that would pull in more fixes and changes to dependants. I’m 👍! |
Steps to reproduce:
bundle
LICENSE.md
in AtomError: Cannot find module 'remark-lint-no-empty-sections
Atom Version: 1.5.3
System: Mac OS X 10.10.5
Thrown From: linter-markdown package, v1.5.0
Stack Trace
Uncaught Error: Cannot find module 'remark-lint-no-empty-sections'
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: