Can't install npm packages anymore due to macOS Big Sur upgrade
Was having the same issue. It was solved by increasing the file's ulimit
.
To check what you have right now, do:
ulimit -a
That should display something like this:
-t: cpu time (seconds) unlimited-f: file size (blocks) 12288-d: data seg size (kbytes) unlimited-s: stack size (kbytes) 8192-c: core file size (blocks) 0-v: address space (kbytes) unlimited-l: locked-in-memory size (kbytes) unlimited-u: processes 2784-n: file descriptors 12288
Then, to increase the file size limit, run the following:
ulimit -f [WHATEVER SIZE LIMIT YOU WANT]
For myself, I decided to set it to unlimited
to make sure this would not be a problem again, so:
ulimit -f unlimited
In my case, thank you @Flowkap, all issues:
- mentioned
npm install
- double machine reboot after sleep of more then 24 hours
- error when using SentryWebpackPlugin during the build process
- local git repository corruption issue I raised as well
All solved by removing the Trend Micro Security