-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
First thank you for the good book! :)
I've reached the place in the book where we install karma and jshint globally and also install the skeleton yfa project's dependencies.
I've received dependency errors and started debugging.
The errors provided a very good information about what dependency needs a newer version than the one we provide in karma@...
Using my experience with the PHP's composer I realised that karma's package at this specific version is looking for the latest version of one of its dependencies.
I also knew that if I install this dependency before karma, it will be used instead of the latest one.
The same thing happened with the local yfa packages.
I just picked older versions of the dependencies without researching them thoroughly by only checking with npm show 'package' versions
These are the commands I used. Maybe there is a better way but I leave them here as a reference to other people like me if they happen to have the same problem:
npm install -g karma-coffee-preprocessor@0.1.3
npm install -g karma@0.10.4 jshint@2.3.0
npm install karma-mocha@0.1.0
npm install -dI'm planning later to modify a little package.json to have this automatically for the local packages.