Open CanadianBeaver opened 1 year ago
Shortly: VuePress are looking for a folder of node_modules
for getting markdown extensions defined in config.js:
. But instead of looking node_modules
folder in working dir, VuePress is looking node_modules
folder in docs\...\node_modules
.
Bug report
Steps to reproduce
package.json:
config.js:
Executing
npm run dev
ornpm run build
thrown exception (workdir isC:\Users\~~~\Website-Generators\vuepress
):What is expected?
World peace
What is actually happening?
Project can not be build, throws an exception
Other relevant information
Removing
markdown:
declaration fromconfig.js
can pass the build, but of course markdown is displayed incorrectly.Tried to copy whole
node_modules
folder to the same folder withArticles
(root folder ofArticles
) - can be build. So, probably the issue is somewhere in VuePress and it is related to calculation the path fornode_modules
, possible hardcoded.Output of
npx vuepress info
in my VuePress project: