Questions tagged [grunt-cli]

Grunt CLI is a command line interface for Grunt JS.

Reference:

34 questions
56
votes
11 answers

Grunt on Windows 8: 'grunt' is not recognized

I'm having a problem running Grunt from the command line on my Windows 8 machine. My research indicates the most common solution is to install grunt-cli, since Grunt is no longer global. I also need to make sure I actually install the Grunt task…
Daniel Attfield
  • 2,024
  • 2
  • 24
  • 40
20
votes
2 answers

npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained

I'm getting an error when using npm to install grunt-cli globally. It's related to lodash: npm WARN deprecated lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0. Here are the versions i'm using, and the list of global…
Mastrianni
  • 3,900
  • 3
  • 20
  • 32
19
votes
5 answers

Jenkins integration with Grunt

I've setup Jenkins v1.550 on Windows Server 2008 R2. It runs as a service at http://localhost:8080 for now. I'm logged into the machine as an Administrator. I've installed Node.js and can run "npm" from the command line. I've also installed the…
tempid
  • 7,838
  • 28
  • 71
  • 101
8
votes
1 answer

Can you use the --verbose flag for individual Grunt tasks?

Here's an example GruntFile for a "clean" task (using the grunt-contrib-clean plugin): clean: { dry: { src: ["build/css"], options: { 'no-write': true } } …
Stevethemacguy
  • 708
  • 7
  • 22
6
votes
2 answers

Grunt install fails on azure web app deploy through deploy.cmd file

I'm trying to build and package my project using Azure's Git deployment. I have created the following files .deployment deploy.cmd Gruntfile.js package.json bower.json I've followed the blog post by Jay Harris. Below given is the deployment…
JPReddy
  • 63,233
  • 16
  • 64
  • 93
6
votes
3 answers

TFS Build cannot find Grunt

I have installed npm and grunt on our TFS build server. I installed the grunt-cli using npm install -g grunt-cli and was then able to run grunt deploy from the command line when logged in as myself. Out TFS builds run as the tfsservice user though,…
deadlydog
  • 22,611
  • 14
  • 112
  • 118
4
votes
1 answer

grunt-cli installation issue

I installed grunt-cli both locally and globally and I can see the same in both local and global paths. To test if the installation works, when I tried to run grunt -h it shows following >> Local Npm module "grunt-cli" not found. Is it…
comiventor
  • 3,922
  • 5
  • 50
  • 77
4
votes
1 answer

Hide 'Running X task' in grunt

I have been working on a project setup and deploy Gruntfile but would like to hide the command line output so that the following: Running "init" task Running "prompt:init" (prompt) task [?] If you continue your project information will be…
onmylemon
  • 724
  • 8
  • 25
3
votes
2 answers

Chocolatey, npm and grunt-cli installation problems

I am having an issue with the path that my node packages are installing on Windows 8.1. Having installed node using Chocolatey I done the following steps: Install Chocolatey choco install npm npm install -g grunt-cli So having done the above I open…
cjfarrelly
  • 201
  • 2
  • 9
3
votes
2 answers

Grunt cli not setting system path

I have install grunt on my server via the setup instructions on the grunt website. Using the npm install -g grunt-cli However I still can get my console to recognize the grunt command. I can see any linking in my system variables path directory so…
Dominic Green
  • 10,142
  • 4
  • 30
  • 34
2
votes
1 answer

Compiling .scss to css with grunt returns with weird error

So this is what I have inside of my grunt: concat: { css: { src: [ 'assets/**.scss.liquid', 'assets/**.css' ], dest: 'assets/build.scss.liquid', } }, sass: { dist: { options: { …
Gamaliel
  • 67
  • 1
  • 11
2
votes
0 answers

Getting sudden Grunt task not found

I'm stumped with this one. I been using Grunt for a while now via CLI and WebStorm. Today I was running some manual Grunt tasks via the WebStorm Grunt panel and something magically seem to have happened that I could not longer run any tasks on…
webteckie
  • 428
  • 5
  • 17
1
vote
0 answers

Grunt require(filename) case sensitivity but windows filenames are case insensitivity

When I try to run grunt command for a UI project in windows, It doesn't throw any error related to .js file names where as it does it linux machines. eg. No such file or directory, open '/......Abc.js How do I make sure to get the same error here…
krupalpatel86
  • 117
  • 2
  • 8
1
vote
0 answers

Grunt build folder whose name is passed in command?

I have a folder structure like: folder 1 ---build ---src folder 2 ---build ---src Now, the grunt command should be such that: grunt build so that it builds the particular folder. Copies the code from src to build inside the…
Kop4lyf
  • 4,520
  • 1
  • 25
  • 31
1
vote
1 answer

can't build yeoman angular app

I have a problem with building an angular js web app generated with yeoman angular generator. I can run the grunt serve, and it's completely fine. But when I tried to build the app using grunt, I got the following errors. Running "concurrent:dist"…
1
2 3