Grunt编译angular.js内存不足
PHPz
PHPz 2017-05-15 16:51:36
0
2
533

从github上面clone下来angular.js的项目,找不到可用的js文件,于是按照build说明用npm安装了一个Grunt(没用过,其实不太懂是干什么的),然后按照Grunt入门教程输入:

npm install grunt package --force

然后就报内存不足。
我是512M的内存,1G的swapfile,系统是CentOS 6.3 64bit 请问如何解决这个问题?

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
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!