Grunt compiles angular.js out of memory
PHPz
PHPz 2017-05-15 16:51:36
0
2
657

I cloned the angular.js project from github and could not find the available js file, so I installed a Grunt with npm according to the build instructions (I have never used it before, and I don’t really know what it does), and then followed the steps to get started with Grunt. Tutorial input:

npm install
grunt package --force

Then it reports insufficient memory.
I have 512M of memory, 1G of swapfile, and the system is CentOS 6.3 64bit. How can I solve this problem?

PHPz
PHPz

学习是最好的投资!

reply all(2)
phpcn_u1582

Isn’t the second angular.js you created in the picture above a usable js file?

伊谢尔伦

You can use bower tool to download the compiled version

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template