build-your-own-angularjs icon indicating copy to clipboard operation
build-your-own-angularjs copied to clipboard

grunt-contrib-testem to grunt-testem-mincer

Open artemzi opened this issue 10 years ago • 4 comments

  • I have a lot of issues with 'Project setup' chapter and recommend change 'grunt-contrib-testem' lib to 'grunt-testem-mincer'. Please check official link to github repository ( https://github.com/inossidabile/grunt-testem-mincer ) from https://www.npmjs.com/package/grunt-contrib-testem .
  • Also i have issue with lodash (Cannot find '_') and Yes, i have setup path in options: {'serve_files'} also have tried 'src' and restarted grunt task. Maybe issue presented only in my environment (Ubuntu 15.10 with latest version node and other packages), but it can't load 'node_modules/lodash/index.js' use for example 'bower_components/lodash/dist/lodash.js' instead and this is make the trick.

artemzi avatar Feb 22 '16 10:02 artemzi

Hey @31H0B1eV If you are still on the project set up it may be worth while downloading the updated version of the book as @teropa has removed the grunt dependency in favor of plain NPM build scripts.

This might help avoid any headaches later if you download the updated version at a later date.

garmeeh avatar Feb 22 '16 19:02 garmeeh

That's ok, i can make it work. In any case thanks.

artemzi avatar Feb 22 '16 19:02 artemzi

@31H0B1eV To solve that reference error about Lo-Dash, you can change node_modules/lodash/index.js to node_modules/lodash/lodash.js. That should be fixed.

yairodriguez avatar Mar 26 '16 22:03 yairodriguez

The issues mentioned here are related to the pre-browserify project setup, closing.

teropa avatar Apr 25 '16 12:04 teropa