For cordova-cli I've temporarily pinned jasmine at an older version <https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=2f9228d581ba9469ea10eead194089c3c377b89c> until this bug is fixed. cordova-lib seems to use the global version of jasmine, so if you see the error, install the older version with -g npm install -g jasmine-node@1.14.1
On Thu, Jul 3, 2014 at 10:09 AM, Sergey Grebnov (Akvelon) < v-seg...@microsoft.com> wrote: > Hi guys, just want to let you know that after recent update of one of our > test dependencies [1] you can see the following error when running 'npm > test' (if you did 'npm update' or installed everything from scratch) > > jasmineNode.TeamcityReporter.prototype = new jasmine.TeamcityReporter; > > This is not related to our code; here is open issue[2] and possible > workaround[3] > > [1] https://www.npmjs.org/package/jasmine-reporters > [2] https://github.com/larrymyers/jasmine-reporters/issues/63 > [3] http://stackoverflow.com/a/24555340/255654 > > -Sergey >