Questions tagged [grunt-cli]

Grunt CLI is a command line interface for Grunt JS.

Reference:

34 questions
1
vote
0 answers

Can I declare command line binaries (e.g. phantomjs, grunt-cli) as npm dependencies

As it's assumed that e.g. grunt-cli is installed globally, listing it as a dependency in package.json a) causes an unnecessary download and local install, b) doesn't actually affect the kind of warnings/errors thrown if grunt-cli isn't installed. Is…
wheresrhys
  • 22,558
  • 19
  • 94
  • 162
0
votes
0 answers

Fatal error: Unable to find local grunt. With Gruntfile.js

(beginner post)(OS : mac) I just install grunt on my local, and edit my "Gruntfile.js" in my project and when I try this : grunt -v It return : Fatal error: Unable to find local grunt. I'm well in my project and no problem for install using this…
BobRock
  • 21
  • 1
  • 7
0
votes
3 answers

How to resolve grunt not recognizable error on jenkins whereas Grunt is running in command prompt?

How to resolve grunt not recognizable error on jenkins whereas Grunt is running in command prompt? Jenkins output: test cases will be executed 'grunt' is not recognized as an internal or external command, operable program or batch file. Build step…
0
votes
0 answers

Unable to find local grunt on ubuntu

I installed grunt globally by running the following commands npm install grunt grunt-cli -g And I also installed grunt and other project dependencies locally to my project by running npm install npm install grunt --save-dev But grunt keeps…
Nadav Shabtai
  • 687
  • 1
  • 7
  • 16
0
votes
0 answers

-bash: grunt: command not found (nothing on SOF has worked yet)

I have tried everything I've found online and on SOF to fix the following problem and am coming up empty. I'm on Mac and I built an entire web app use node.js and grunt. Everything ran beautifully until one day, I started getting this error: -bash:…
Jenn
  • 11
  • 2
0
votes
1 answer

Grunt release : Warning: Task "release" not found and it shows "aborted due to warnings"

Grunt release : Warning: Task "release" not found and shows aborted due to warnings. But it shows hint like "Use --force to continue". If i use "--force" to the command it is working fine. What's happening when i use --force before and after.
0
votes
1 answer

how to run grunt task programmatically nodejs?

I need to use grunt-phonegap-build, I have used this method programmatically: grunt.loadNpmTasks('grunt-phonegap-build'); grunt.initConfig({ "phonegap-build": { debug: { …
Angu
  • 862
  • 2
  • 13
  • 32
0
votes
1 answer

Trying to install grunt-cli, but need help to upgrade to lodash@^3.0.0

I was working through the Thinkster Angular/Firebase tutorial and in the installation process I got to the part where I needed to install grunt-cli with this command in the terminal: npm install -g bower grunt-cli and got this error: lodash@<3.0.0…
Matt G
  • 1
0
votes
1 answer

running grunt and jenkins

I have jenkins running grunt tasks. I have jenkins running the command: grunt name-of-tasks on the master server (I have a master/slave setup) it is able to run grunt tasks correctly, however, on the slave servers, it is unable to run grunt tasks.…
Chris Hansen
  • 7,813
  • 15
  • 81
  • 165
0
votes
0 answers

Difficulty in deploying Node.JS + Grunt based web application from terminal

I have a website which is developed based on Node.JS and uses grunt to be run. I want to deploy it on my aws server. So, i installed node.js and all its dependencies and modules, configured database etc, and i am able to run it from terminal. First…
QProgrammer
  • 113
  • 3
  • 14
0
votes
1 answer

Grunt installed but "command not found"

I'm trying to use Grunt on a project that I'm working on with someone else. My colleague installed Node, NPM, Grunt-CLI and created a Grunt task and uploaded the entire working directory to Github. When he runs the Grunt task it works fine. I have…
theclarkofben
  • 425
  • 2
  • 6
  • 18
0
votes
0 answers

Grunt CLI installs, but not available

Working on Ubuntu 15.04, trying to install the Grunt CLI (sudo npm install grunt-cli -g), which works like a dream. The issue comes when trying to execute grunt in any directory. No error is given, the command just doesn't work. Any suggestions?…
0
votes
1 answer

findup-sync failing on Jenkins Server

I'm building a jenkins job for an AngularJS app and it seems to have an issue everytime I try to run a Grunt task. After executing npm install && bower install && grunt When the grunt tasks are running I'm getting this…
lerp90
  • 503
  • 8
  • 23
0
votes
1 answer

Unit Test not giving expected error on grunt dev-test check

I am trying to begin to run unit tests while learning MEAN using grunt dev-test to check the following, which should return an error. However, in the terminal grunt dev-test detects the file as being changed and reports no errors. 'use…
Devon Kiss
  • 222
  • 3
  • 12
0
votes
1 answer

I can not use grunt -cli and grunt serve in my web hosting

I have developed a website on Node.js that runs perfectly on my local machine. I run my server with the command: $ grunt serve The problem is when i run my web application on my server online ( gandi server ). I can't use the command $ grunt…