-
gfournier
java node.js maven grunt
I’m trying to execute grunt tasks from within maven without needing to install Node.js or anything. This is because I wan’t my artifact to be packaged by Jenkins and I can’t install Node.js on that machine.I know that it’s easy with npm and a few commands to get it working, but I also think that it should be easy to integrate with maven, the problem is that I don’t know where to start since I’m new to npm.
-
Ahmed Nuaman
coffeescript requirejs gruntjs grunt
I have a project written in CoffeeScript that uses AngularJS. My vendor dependancies are installed using Bower and my file structure is like this:- assets- js- app- model- *.coffee- factory- *.coffee…- app.coffee- config.coffee- routes.cofeee- vendor- angular- lodash…- distWhat I’m trying to do is the following:I’m trying to work out how I can use RequireJS’s r.js to optimise my app files so that I essentially get a concatenated file all ordered nice (so vendor dependancies, my config and ro
-
Chris
backbone.js handlebars.js gruntjs grunt
I’m just wondering if anyone has had experience using this plugin in a backbone project.Instead of having all my script template tags in a single index file, I wanted to house my templates in the same directory as my views that required them.So I was hoping i could use the node option to require the local template and render to it and then append to an #id on my index file (which I’ll sort out laster).So basically I have my handlebars template (template.hbs) and its compiled js (template.js) alo
-
Phil
node.js three.js yeoman grunt bower
I installed threejs with bower install threejsThen after this I wish to have threejs in my page, so my app.js file starts with:define([“jquery”, “three”], function() {“use strict”;However when my page loads the Chrome console showsFailed to load resource: the server responded with a status of 404 (Not Found) http://localhost:9000/scripts/three.js Uncaught Error: Script errorWell, shouldn’t it be looking in components like it does for JQuery?Basically how can I get started with yeoman and install
-
GeorgieF
compass-css yeoman grunt
I’m building a single page app using the most recent yeoman build 1.0.0beta3 and compass 0.12.2When starting compass:server I get lots of errors, but during dev time all seems to be ok in my browser. grunt build then does not fail, but builds improper CSS output, so that the layout in the browser is borken. Maybe that’s all my fault, caused by a misunderstanding. What I have is a main.sass file with all my includes: // compass @import ‘compass’ @import ‘compass/reset’ @import ‘compass/css3’ …
-
mjr
gruntjs grunt
I’m trying out grunt.js for the first time and am having some beginner issues.I want to concat all the js files in the /foundation/ folderI’m getting this error:Running “concat:options” (concat) taskTypeError: Cannot read property ‘linefeed’ of undefined at Object.module.exports (….file path here…../_compass/javascripts/node_modules/grunt-contrib-concat/tasks/concat.js:19:28) at Object.task.registerMultiTask.thisTask (/usr/local/lib/node_modules/grunt/lib/grunt/task.js:109:15) at Object.task
-
shicholas
angularjs yeoman grunt angular-ui-bootstrap
I am trying to rungrunt buildfrom within a directory that was created by yo angularI installed angular-ui-bootstrap via bower. Locally I needed to add<script src=”components/angular-bootstrap/ui-bootstrap-tpls.min.js”></script>to my index.html andangular.module(‘app’, [‘ngResource’, ‘ngCookies’, ‘ui.bootstrap’])to my app.js. However every time I try to build the app I get this errorError: No module: ui.bootstrapat Error ()at /Users/nicholasshook/angular/pokerfund/angular_app/app/comp
-
Andrea Reginato
node.js npm grunt
I’m trying to deploy an app based on grunt with heroku.One need I have is to let heroku install all npm packages. For this reason I decided to update package.json and to move everything from devDependencies to dependencies. I then run npm install and as far as all libraries are the same, I expect evrything to be working, but it doesn’t.package.json with all packages into devDependencies (WORKING) package.json with all packages into dependencies (NOT WORKING)The error I get is thisLoading “Gruntf
-
Soroush Hakami
node.js gruntjs grunt
When running grunt I get the following error:Warning: Unable to write “client/dist/js/build.js” file (Error code: undefined). Use –force to continue.The config of uglify in my Gruntfile.js : uglify: {build: {src: [‘client/src/js/*.js’],dest:[‘client/dist/js/build.js’]}}I’m using grunt-contrib-uglify.Any ideas why this is happening?
-
kamal
grunt
grunt –versiongrunt-cli v0.1.8 grunt v0.4.1$ npm -v1.2.18$ node -vv0.10.6and when i do grunt init, to create the Gruntfile.js i get error:$ grunt init A valid Gruntfile could not be found. Please see the getting started guide for more information on how to configure grunt: http://gruntjs.com/getting-started Fatal error: Unable to find Gruntfile.I have searched for Grunfile.js, i get:/home/ka/.npm/grunt-cli/0.1.8/package/Gruntfile.js /home/ka/tmp/npm-1464/1368671910572-0.38816986070014536/packa
-
Dan Ramos
javascript requirejs grunt r.js
I’m able to successfully compile my JS modules via Grunt’s requirejs task, but I’m getting undefined with any shim scripts. Here is my configrequirejs.config({“baseUrl”: “../../../components/”,”paths”: {“less”: “less.js/dist/less-1.3.3″,”datepicker”: “jquery-ui/ui/jquery.ui.datepicker”,”jquery”: “jquery/jquery”,”jqueryui”: “jquery-ui/ui/jquery-ui”,”spectrum”: “spectrum/spectrum”,”class”: “class/class”,”underscore”: “underscore-amd/underscore”,”d3″: “d3/d3″,”nv”: “nvd3/nv.d3″,”dataTables”: “data
-
Matt S.
pig dump piglatin grunt verbosity
I’m working with PigLatin, using grunt, and every time I ‘dump’ stuffs, my console gets clobbered with blah blah, blah non-info, is there a way to surpress all that? grunt> A = LOAD ‘testingData’ USING PigStorage(‘:’); dump A; 2013-05-06 19:42:04,146 [main] INFO org.apache.pig.tools.pigstats.ScriptState – Pig features used in the script: UNKNOWN 2013-05-06 19:42:04,147 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MRCompiler – File concatenation threshold: 100 optimi