You can launch NPM using :
node --max-old-space-size=8000 $(which npm) install -g ionic
As described here, the default is 4000 (4Gb).
More Related Contents:
- How to solve npm error “npm ERR! code ELIFECYCLE”
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Why does “npm install” rewrite package-lock.json?
- npm install error – unable to get local issuer certificate
- npm ERR! Error: connect ECONNREFUSED when trying to update the npm
- npm: When to use `–force` and `–legacy-peer-deps`
- npm ERR! git dep preparation failed when trying to install package.json
- how to specify local modules as npm package dependencies
- How can I make multiple projects share node_modules directory?
- nvm keeps “forgetting” node in new terminal session
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents
- npm install errors with Error: ENOENT, chmod
- How do I fix the npm UNMET PEER DEPENDENCY warning?
- How can I change the version of npm using nvm?
- Angular 6 many Can’t resolve errors (crypto, fs, http, https, net, path, stream, tls, zlib)
- Install dependencies globally and locally using package.json
- How to solve npm install throwing fsevents warning on non-MAC OS?
- Node package ( Grunt ) installed but not available
- `npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`
- npx command not found
- When I run `npm install`, it returns with `ERR! code EINTEGRITY` (npm 5.3.0)
- Why use peer dependencies in npm for plugins?
- What does -save-dev mean in npm install grunt –save-dev
- npm install shows error with git not found
- How do I fix a vulnerable npm package in my package-lock.json that isn’t listed in the package.json?
- npm install not work
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- npm install that requires node-gyp fails on Windows
- npm update check failed