Apparently yarn and npm use the name from either the dependencies or from the address for the directory in node_modules, while copy-node-modules uses the package's name from it's packages.json.
If the maintainer did a mistake, this will result in copy-node-modules to fail, while yarn and npm work file.
Thanks for the useful package! Just what I need.
Apparently yarn and npm use the name from either the dependencies or from the address for the directory in node_modules, while copy-node-modules uses the package's name from it's packages.json.
If the maintainer did a mistake, this will result in copy-node-modules to fail, while yarn and npm work file.
Example:
packages.json
node_modules/jquery.accessible-accordion/package.json
Results in copy-node-modules failing:
Thanks for having a look.