Questions tagged [gruntjs]

Grunt is a task-based command line build tool and task runner for JavaScript projects.

Grunt is a task-based command-line build tool and task runner for projects, that runs on Node.js and is installed via npm.

It runs on plugins that allow it to manipulate files, other languages, and systems, such as , , , , , and .

Some Useful Links

  1. Grunt GitHub Repo
  2. Grunt API
  3. Grunt Documentation
  4. Grunt Plugins

Related Tags for specific Grunt tools and plugins

9083 questions
3
votes
0 answers

Error: ENOENT in Grunt uglify task

I have the following gruntfile.js. Using grunt-contrib-concat and grunt-contrib-uglify together. This is an extention of a developement asked @Dynamic Mapping and Concat with Grunt Uglify I use banner in the uglify task to reference a file created…
fidev
  • 1,222
  • 2
  • 21
  • 51
3
votes
0 answers

Grunt Compass Stack level too deep error

I'm running Grunt to compile some SCSS and whenever I include a border radius @include border-radius(50%); it throws this error SystemStackError on line ["160"] of C: stack level too deep I'm running npm@3.10.8 and grunt-contrib-compass@1.1.1 Does…
Kup
  • 882
  • 14
  • 31
3
votes
1 answer

Build for js environment without npm?

We are currently building our frontend js codebase (angularjs) using nodejs with grunt, which seems to be a popular setup, but we are not happy with this solution. Does anyone have suggestions for a build setup for e.g. linting, minimizing our js,…
jssebastian
  • 1,189
  • 1
  • 11
  • 12
3
votes
2 answers

Angular module not available after grunt build

I'm fairly new to angular, grunt, bower, node and all this stuff, and I am facing a problem when trying to build my project using grunt. I used the angular-php yeoman generator, that is based in generator-angular, and I have been developing using…
donkikote
  • 61
  • 1
  • 8
3
votes
3 answers

Install NodeJS package without npm

Question: How to install NodeJS package (like grunt-cli) manually without using npm? Environment: I have installed Windows 10 with "Bash on Ubuntu on Windows". I have successfully installed NodeJS + Grunt in the "normal" Windows environment without…
Jasper Citi
  • 1,673
  • 1
  • 23
  • 31
3
votes
2 answers

Angular JS ng-Messages not displaying error messages

I am new to form validation using Angular JS so I looked around a lot and found one that was a nice tutorial. The tutorial can be found here. I know there are a few posts on Stack Overflow about ng-messages however I reviewed them and they do not…
L1ghtk3ira
  • 3,021
  • 6
  • 31
  • 70
3
votes
0 answers

force grunt wiredep to inject vendor .min files only

Hi m using simple in grunt-wiredep grunt-contrib-watch grunt.initConfig({ wiredep: { task: { src: ['public/**/*.pug'] } } }); it inject file like ,
Seetpal singh
  • 3,505
  • 1
  • 15
  • 12
3
votes
1 answer

Grunt / Docker file paths

I'm running Grunt and can't get docker (jsdocs) to place it's generated files in an external folder. Regardless of what "dest" I pass, it still places the generated html files in the same directory as the javascript files. Grunt build -v…
user2094477
3
votes
1 answer

What is a good build system for Angular2 projects?

Me and my team recently shifted to Angular2 (or AngularJS 2) from AngularJS 1.x. We used to use Yeoman Angular Generator for scaffolding and grunt for building and creating a war using the inbuilt gruntfile.js that used to get created by default…
theHeman
  • 505
  • 1
  • 6
  • 26
3
votes
1 answer

How to start Gulp server for Yeoman app?

I'm trying to build my first application using Yeoman + angular + gulp. I've also created an application using gulp, which works completely fine. Following is the step I followed to install the application, npm install -g yo npm install -g…
imbond
  • 2,030
  • 1
  • 20
  • 22
3
votes
1 answer

Error while running grunt "error occurred while processing a template"

I've generated an app using yeoman. ("yo angular") While runnning "grunt" it fails with error. Warning: An error occurred while processing a template (Object function (obj) { obj || (obj = {}); var __t, __p = ''; with (obj) { …
3
votes
1 answer

Grunt, Istanbul, Isparta and TypeScript

TL;DR Has anyone used Grunt and Jasmine to successfully generate coverage reports? Long Story: I have a few tests, written in Jasmine, for which I wanted to generate some coverage information. For being generic, I have actually used grunt-istanbul,…
Xabre
  • 1,292
  • 1
  • 11
  • 17
3
votes
1 answer

how to run a grunt task in a for loop while dynamically changing the data in config?

I am trying to run a task in grunt, it goes to a URL and saves the response in a file, but I want it to go to different URLs and make different files accordingly. So I am running a loop and at every iteration changing the data in config. But the…
3
votes
3 answers

How to debug Gruntfile.js?

I've just created my Gruntfile.js which shows me the following Error when running grunt -v: Reading "Gruntfile.js" Gruntfile...OK Registering Gruntfile tasks. Loading "Gruntfile.js" tasks...ERROR >> SyntaxError: Unexpected identifier >> at…
EchtFettigerKeks
  • 1,692
  • 1
  • 18
  • 33
3
votes
1 answer

WebStorm / grunt debug run throwing EADDRINUSE error

I have a Node/Angular app, developed using the WebStorm IDE. I can run the application fine via WebStorm (Shift + F10). However, any time I try to run in debug mode, I am receiving the EADDRINUSE error: Running "concurrent:default" (concurrent)…
DShultz
  • 4,381
  • 3
  • 30
  • 46
1 2 3
99
100