Open micovery opened 4 years ago
As a workaround, I ran this:
find $(npm config get prefix)/lib/node_modules/generator-apigee-deploy-grunt-api \
-name "graceful-fs" \
-exec sh -c 'cd {}/../.. && npm install graceful-fs@4.2.3' \;
To force all dependencies on graceful-fs to use version 4.2.3, and I did not get that error afterwards. Seems that a fix for this could be to make sure package-lock.json is published to NPM with a working version of graceful-fs.
Sorry you ran into that. Thanks for posting a workaround.
When running it, I get this error:
After a bit of Googling around this error, the consensus seems to be that graceful-fs is broken in node v12.