gruntjs

    1热度

    1回答

    我已经在本地机器上安装了“npm”。在我Gruntfile.js目录,我在这过程中安装咕噜: NPM安装咕噜 NPM安装-g咕噜-CLI 咕噜手表 tasker运行,但我得到这些警告: 这里是我gruntfile.js文件 module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJS

    1热度

    1回答

    我试图从bower.json读取数据和推到现有的JSON文件为我的项目 var mapping = grunt.file.readJSON('bower.json'); var map = grunt.file.readJSON('other.json); 我怎样才能将其推入其他档案?我已经尝试过推()和write() 谢谢

    0热度

    1回答

    尝试使用grunt-kill创建一个任务,该任务将终止我的server-scorm任务,并最终执行任何相关任务。这些指令非常简短,因为它假定我知道所有关于PID文件(我不知道,而不是开发人员故障),并且Grunt Manual使它们引用0。 问题是我不知道如何正确引用PID文件路径以及Grunt使用的命名方案。 当我运行下面的命令,我可以得到的ID: ps aux | grep grunt 当

    0热度

    1回答

    今天,当我想运行npm install后加入package.json和gruntfile.js后安装一个新的项目咕噜,我得到这个错误: npm ERR! code E403 npm ERR! 403 Forbidden: [email protected]~0.2.3 npm ERR! A complete log of this run can be found in: npm ERR!

    0热度

    1回答

    我有一个Grunt任务,如果--verbose命令行标志打开,我想回复一些更多的信息到控制台。 查明该标志是否打开不可能与grunt.option('verbose')。它似乎也不在grunt.package的任何地方。 如何从任务中看到用户是否设置了详细标志?

    0热度

    1回答

    我正在使用grunt-loop-mocha节点模块。当我执行咕噜测试,我得到以下错误: Warning: Task "loopmocha" not found. Use --force to continue. Aborted due to warnings. 这里是我的代码: module.exports = function(grunt) { require("grunt-

    0热度

    1回答

    日志看起来像这样。 8 http fetch GET 404 https://registry.npmjs.org/gurnt 2232ms 9 silly fetchPackageMetaData error for [email protected] 404 Not Found: [email protected] 10 verbose stack Error: 404 Not Found

    0热度

    1回答

    我正在使用“grunt-contrib-copy”:“^ 1.0.0”,并且复制的二进制文件被破坏,请看看我的grunt配置并在此帮助我。 copy: { options: { // exclude binary format from the processContent function processContentExclude: [ '**/

    0热度

    1回答

    我想用grunt编译scss文件。使用论文模块 grunt-contrib-sass grunt-contrib-watch grunt-contrib-concat 他这样说,我所有的常规CSS文件被编译成我的主css文件,但没有我的.scss文件一样。我试图在命令行手动编译我的文件,并且它工作正常(sass styles.scss:style.css),所以它与我的.scss或ruby无关。我

    1热度

    1回答

    我正在使用云端数字服务器IP http://192.241.160.194与Dokku & OS unbunto 16.04; 我必须在此服务器上部署平均堆栈项目。在我的本地机器上,我正在使用grunt服务器来运行这个项目。在我的本地系统上,我使用Unbunto 16.04。 在服务器上,我成功安装了npm,bower,nodejs,grunt服务器和mongodb。但是当我想运行grunt服务器