ERROR Tutorial tests section: practicalmeteor:mocha. TypeError: Cannot call method 'push' of undefined

Hi!.The command has error while running tests: meteor test --driver-package practicalmeteor:mocha.

I am working on windows 10.
Tutorial link: https://www.meteor.com/tutorials/angular/testing

W20160627-11:23:42.959(3)? (STDERR)
W20160627-11:23:42.960(3)? (STDERR) C:\Users\Gladiussdv_PC\AppData\Local.meteor\packages\meteor-tool\1.3.4\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280
W20160627-11:23:42.962(3)? (STDERR) throw(ex);
W20160627-11:23:42.964(3)? (STDERR) ^
W20160627-11:23:42.965(3)? (STDERR) TypeError: Cannot call method ‘push’ of undefined
W20160627-11:23:42.966(3)? (STDERR) at meteorInstall.node_modules.meteor.practicalmeteor:mocha-core.node_modules.mocha.lib.mocha.js (node_modules/meteor/practicalmeteor:mocha-core/node_modules/mocha/lib/mocha.js:28:1)
W20160627-11:23:42.967(3)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160627-11:23:42.969(3)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160627-11:23:42.970(3)? (STDERR) at meteorInstall.node_modules.meteor.practicalmeteor:mocha-core.node_modules.mocha.index.js (node_modules/meteor/practicalmeteor:mocha-core/node_modules/mocha/index.js:3:1)
W20160627-11:23:42.971(3)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160627-11:23:42.972(3)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160627-11:23:42.973(3)? (STDERR) at meteorInstall.node_modules.meteor.practicalmeteor:mocha-core.server.js (packages/practicalmeteor:mocha-core/server.js:2:1)
W20160627-11:23:42.974(3)? (STDERR) at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
W20160627-11:23:42.975(3)? (STDERR) at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
W20160627-11:23:42.979(3)? (STDERR) at node_modules/meteor/practicalmeteor:mocha-core/node_modules/mocha/node_modules/growl/lib/growl.js:234:1
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

1 Like

Same here with Windows 8.1. Updated to the latest Meteor version with no luck.

Same here on windows 10

Probably duplicit issue

it was resolved: https://github.com/practicalmeteor/meteor-mocha/issues/51#issuecomment-228693216

meteor add practicalmeteor:mocha@=2.4.5-rc5.5

1 Like