Closed
Description
Bug report
If I install vuepress v0.14.4
and file-set v2.0.0
, running vuepress dev
returns the following error:
C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\snapdragon\lib\parser.js:473
throw new Error('no parsers registered for: "' + self.input.slice(0, 5) + '"');
^
Error: no parsers registered for: "].dir"
at parse (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\snapdragon\lib\parser.js:473:15)
at Parser.parse (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\snapdragon\lib\parser.js:477:24)
at Snapdragon.parse (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\snapdragon\index.js:122:28)
at Snapdragon.<anonymous> (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\lib\braces.js:40:45)
at Braces.parse (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\lib\braces.js:66:26)
at Braces.expand (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\lib\braces.js:87:18)
at create (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\index.js:142:15)
at memoize (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\index.js:298:13)
at Function.braces.create (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\index.js:165:10)
at Function.braces.expand (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\braces\index.js:81:17)
at getDirParts (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\chokidar\index.js:435:31)
at FSWatcher.<anonymous> (C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\chokidar\index.js:452:24)
at C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\readdirp\readdirp.js:220:72
at Array.filter (<anonymous>)
at C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\readdirp\readdirp.js:220:12
at C:\Users\bart.ledoux\Documents\GitHub\vuepress-bug\node_modules\readdirp\readdirp.js:193:38
Version
0.14.4
Steps to reproduce
Checkout this repo https://github.com/elevatebart/vuepress-bug,
then yarn && yarn docs
What is expected?
It should run all the way and display the readme.md
What is actually happening?
Vuepress is observing the node_modules through chokidar and fails to load because of the strange shape of one folder in node_modules
Other relevant information
- Your OS: Win10
- Node.js version: 8.11.4
- Browser version: -
- Is this a global or local install? local
- Which package manager did you use for the install? yarn
Metadata
Metadata
Assignees
Labels
No labels