Skip to content

Instantly share code, notes, and snippets.

@Daniel-Wiedemann
Created November 28, 2013 01:24
Show Gist options
  • Save Daniel-Wiedemann/bff49e86bb30b4af8368 to your computer and use it in GitHub Desktop.
Save Daniel-Wiedemann/bff49e86bb30b4af8368 to your computer and use it in GitHub Desktop.
Sometimes when you install angular with yeoman you get some issues. Here are a few solutions. From https://github.com/gruntjs/grunt-contrib-imagemin/issues/109
You don't have to add "jpegtran-bin": "0.2.0" to package.json
Remove node_modules folder if necessary
Do npm install [email protected]
Do npm install
It worked for me.
If the console runs this error:
Running "karma:unit" <karma> task
Warning: No provider for "framework:jasmine"! <Resolving: framework:jasmine> Use --force to continue.
Aborted due to warnings.
then try to install:
npm install karma-jasmine --save-dev
npm install karma-chrome-launcher --save-dev
(or for more launchers)
npm install --save-dev karma-chrome-launcher karma-firefox-launcher karma-safari-launcher karma-opera-launcher karma-ie-launcher karma-jasmine
If you have some errors try:
Delete the folder node_modules
npm cache clear
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment