Upon trying to remove the node_modules directory created by npm install:
The source file name(s) are larger than is su
(I would prefer to avoid installing a new extension (rimraf) when working with CI environments.)
npm init - this will create an empty packages.json file (no dependencies)npm prune - this will match node_modules with the dependencies section of packages.json - which is now empty as the result of step #2.packages.json, and rename original packages.json back to its original name.