when we install markdown-styleguide-generator its dependency (highlight.js) install on project node_modules but file which is generated by styleguide init contains highlightFolder path project/node_modules/markdown-styleguide-generator/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles and it throws error while executing styleguide with below message.
Could not read highlight file: {project path}/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles/github.css
Using npm 3.x
Looks like npm 2.x installs the dependency different compare to 3.x
when we install markdown-styleguide-generator its dependency (highlight.js) install on project node_modules but file which is generated by styleguide init contains highlightFolder path project/node_modules/markdown-styleguide-generator/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles and it throws error while executing styleguide with below message.
Could not read highlight file: {project path}/node_modules/markdown-styleguide-generator/node_modules/highlight.js/styles/github.css
Using npm 3.x
Looks like npm 2.x installs the dependency different compare to 3.x