Hi, I'm playing with BrowserMap and following README.md, specifically the part on development. This says: npm install -g grunt-cli npm install -g jscoverage grunt test
However, this doesn't work for me. I get: grunt test grunt-cli: The grunt command line interface. (v0.1.9) Fatal error: Unable to find local grunt. If you're seeing this message, either a Gruntfile wasn't found or grunt hasn't been installed locally to your project. For more information about installing and configuring grunt, please see the Getting Started guide: http://gruntjs.com/getting-started After doing various incantations of "npm install grunt" or "npm install grunt -g", I got to: grunt test >> Local Npm module "grunt-karma" not found. Is it installed? >> Local Npm module "grunt-contrib-jshint" not found. Is it installed? >> Local Npm module "grunt-contrib-uglify" not found. Is it installed? >> Local Npm module "grunt-jsdoc" not found. Is it installed? >> Local Npm module "grunt-contrib-clean" not found. Is it installed? >> Local Npm module "grunt-contrib-copy" not found. Is it installed? >> Local Npm module "grunt-contrib-compress" not found. Is it installed? >> Local Npm module "grunt-qunit-cov" not found. Is it installed? Warning: Task "jshint" not found. Use --force to continue. Aborted due to warnings. It seems the devDependencies from package.json didn''t get installed using these instructions. Installing them manually (e.g. 'npm install grunt-karma grunt-contrib-jshint ...') gets me to: grunt test >> Local Npm module "grunt-qunit-cov" not found. Is it installed? Once I installed the default npm version, I get: Running "jshint:files" (jshint) task >> 5 files lint free. Running "karma:continuous" (karma) task WARN [config]: QUNIT is not supported anymore. Please use `frameworks = ["qunit"];` instead. WARN [config]: QUNIT_ADAPTER is not supported anymore. Please use `frameworks = ["qunit"];` instead. WARN [config]: LOG_INFO is not supported anymore. Please use `karma.LOG_INFO` instead. ERROR [config]: Config file must export a function! module.exports = function(config) { config.set({ // your config }); }; I tried: npm install --from-git git://github.com/raducotescu/grunt-qunit-cov.git But this results in the same error. It looks like src/test/karma.conf.js needs some updating. Can anyone with more familiarity with grunt/npm offer any insights? Thanks, Andrew. -- [email protected] / [email protected] http://www.andrewsavory.com/
