95740/error-fatal-error-retry-allocation-failed-javascript-memory
When running npm install -g ionic I get the following error:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
Is there a way to globally increase the node.js memory limit?
Hello @kartik,
You can launch NPM using :
node --max-old-space-size=8000 $(which npm) install -g ionic
Hope it helps!!
Thank You!!
Hello @kartik, Try this: npm cache clean Hope it works!! Thank ...READ MORE
Hello @kartik, This looks like a permissions issue ...READ MORE
Hello @kartik, If you have to install an ...READ MORE
Hello @kartik, EADDRINUSE means that the port number which listen() tries ...READ MORE
Hey @kartik, First you have to go to ...READ MORE
Named route is used to give specific ...READ MORE
Hello, This is simple you just need to ...READ MORE
Hey @kartik, Named routing is another amazing feature of ...READ MORE
Hello @kartik, This function will return you the ...READ MORE
Hello @kartik, Your logs return undefined : you log before ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.