The renaming of lib/dredd.js > lib/Dredd.js seems to cause problem with
var Dredd = require('dredd'); on Linux (circleCI).
It麓s working on windows/mac that doesn't seem to be that picky on casing
aw node --glob ./test/integration/integration-dredd.spec.js
{ Error: Cannot find module 'dredd'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Module._load (internal/modules/cjs/loader.js:507:25)
at hookedLoader (/home/circleci/mira/node_modules/@after-work.js/register/src/index.js:83:10)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.require (/home/circleci/mira/test/integration/integration-dredd.spec.js:1:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Module._compile (/home/circleci/mira/node_modules/pirates/lib/index.js:83:24)
at Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Object.newLoader [as .js] (/home/circleci/mira/node_modules/pirates/lib/index.js:88:7) code: 'MODULE_NOT_FOUND' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test:integration:dredd: `aw node --glob ./test/integration/integration-dredd.spec.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test:integration:dredd script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2019-01-08T13_59_02_049Z-debug.log
Oh! Thanks for reporting this, this is an unwanted breaking change.
@axelssonHakan @FredrikFolkesson I believe https://github.com/apiaryio/dredd/pull/1188 should fix it
:tada: This issue has been resolved in version 5.4.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Most helpful comment
@axelssonHakan @FredrikFolkesson I believe https://github.com/apiaryio/dredd/pull/1188 should fix it