I get this message when running pandiff with the -s option:
/home/ptgolden/npm-local/node_modules/pandiff/node_modules/github-markdown-css/github-markdown.css: openBinaryFile: does not exist (No such file or directory)
Since npm3, it is no longer necessarily the case that the dependencies of an installed npm module will be located in the node_modules directory of that module. This commit uses require.resolve to find the location of the github-markdown-css file, rather than assuming its location in a nested node_modules folder.
I get this message when running pandiff with the
-s
option:Since npm3, it is no longer necessarily the case that the dependencies of an installed npm module will be located in the
node_modules
directory of that module. This commit usesrequire.resolve
to find the location of the github-markdown-css file, rather than assuming its location in a nestednode_modules
folder.