... TypeError: request.open is not a function at dispatchXhrRequest (.../node_modules/axios/lib/adapters/xhr.js:28:13) at new Promise (<anonymous>) at xhrAdapter (.../node_modules/axios/lib/adapters/xhr.js:11:10) at dispatchRequest (.../node_modules/axios/lib/core/dispatchRequest.js:59:10) at <anonymous> npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! email@example.com test: `node scripts/test.js --env=jsdom` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org test script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.