After installing NodeJS and npm on Windows, executing npm search (e.g. npm find lodash
) triggers a fatal memory error with extensive GC logging.
PS C:\Users\User> npm find lodash
npm WARN Setting up package cache...
[===-------] Indexing modules...
Error: Memory allocation failure
How can this issue be fixed?