- edited description
Grunt support
Grunt support would be very welcome for this plugin
Alternatively I'd be very happy if there's a work-around for:
module.js:340
throw err;
^
Error: Cannot find module 'C:\Users\Administrator\bamboo-home\xml-data\build-dir\NB-DOC-JOB1\grunt'
Comments (5)
-
reporter -
@EnzoMartin, have you added
grunt
to yourdevDependencies
and are doing anpm install
first before trying any grunt commands? -
reporter Of course, running it from the directory that Bamboo creates/uses works fine, as does running non-Grunt scripts through Bamboo, Mocha tests are working as well
-
reporter Adding more info:
Project's package.json: https://github.com/EnzoMartin78/node-boilerplate/blob/master/package.json
Tasks configuration album: http://imgur.com/a/N4TAy
Apologies in advance if it's a configuration misstep I made, I tried using both NPM and Node as a test, both exhibit the same error.
-
reporter - changed status to resolved
It just occurred me to that it was running from the directory root instead of node_modules. I changed the working directory and it's working now.
Sorry about that, was clearly way more tired than I thought I was when setting these up.
- Log in to comment