I have a really confusing problem I need help with!I have an npm project I'm trying to build that has a lot of dependenciesI'm using lerna to build it and I get the error:npm ERR! cb() never called!The node_modules directory ALWAYS has 100k files in it at the end as reported byfind node_modules | wc -lIt's never EXACTLY 100k but just close to it like 100412 or 100218.I'm on MacOS Catalina at 10.15.6I've had this problem in the past and I've just solved it by increasing ulimit.One of our devs had to install the latest Windows Subsystem for Linux as the old one wouldn't run our build and gave him the same error.I've tried increasing ulimit to 1M via:sudo launchctl limit maxfiles 1000000 1000000and then setting it via ulimit -n 100000... and confirming it by running ulimit -n to print the current value.That isn't fixing the problem.Any recommendations? I'm really stuck on this one.
Submitted September 22, 2020 at 03:35PM by brainhack3r
No comments:
Post a Comment