大佬教程收集整理的这篇文章主要介绍了node.js – 使用grunt编译时的内存问题,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
bower.json中的依赖项:
"dependencies": { "jquery": "~2.1.3","bootstrap": "~3.3.2","admin-lte": "~2.0.0" },
我的package.json中的dependecies:
"dependencies": { "grunt": "^0.4.5","grunt-bower-concat": "^0.4.0" },"devDependencies": { "grunt": "^0.4.5","grunt-contrib-concat": "^0.5.1","grunt-contrib-copy": "^0.7.0","grunt-contrib-cssmin": "^0.12.2","grunt-contrib-less": "^1.0.0","grunt-contrib-uglify": "^0.7.0","grunt-contrib-watch": "^0.6.1","grunt-filerev": "^2.2.0","grunt-usemin": "^3.0.0" },
我使用的是AdminLTE 1.4.*,一切都很好.我更新到AdminLTE 2.0.0,当我尝试编译我的less文件时,我收到此错误:
Fatal error: Call_AND_RETRY_LAST AlLOCATIOn Failed - process out of memory
我有我的base.less文件,其中只包含bootstrap广告Adminlte样式表.
如果我从adminlte.less文件的导入中排除一些文件(bootstrap变量和mixins以及所有皮肤),它编译没有错误,但我也需要导入皮肤:)
我该如何解决?
以上是大佬教程为你收集整理的node.js – 使用grunt编译时的内存问题全部内容,希望文章能够帮你解决node.js – 使用grunt编译时的内存问题所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。