When using mocha to test a node module which requires regenerator I get this error: assert.js:93 throw new assert.AssertionError({ ^ AssertionError: Bad esprima version: 1.1.1 at normalizeOptions (/usr/lib/node_modules/regenerator/main.js:59:10) at regenerator (/usr/lib/node_modules/regenerator/main.js:22:13) at Object.<anonymous> (/usr/lib/node_modules/pac-resolver/index.js:36:29) When looking in the code it seems that there is hardcoded tested that the version must contain the string '/harmony/'. /usr/lib/node_modules/regenerator/main.js: if (!options.esprima) { options.esprima = require("esprima"); } assert.ok( /harmony/.test(options.esprima.version), "Bad esprima version: " + options.esprima.version ); If I change the require("esprima") to require("esprima-harmony-jscs" the test passes and continues..
nodejs-regenerator-0.8.39-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-e3a5e1e20c
nodejs-regenerator-0.8.39-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update nodejs-regenerator' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-e3a5e1e20c
nodejs-regenerator-0.8.39-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.