Unexpected crash! Please log a bug with the commandline you specified.
/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:130
throw e;
^
ReferenceError: Response is not defined
at Object. (/Users/guenneco/react-native/bg-mobile-nga/node_modules/jest-fetch-mock/src/index.js:11:24)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:57:67)
at Module._compile (module.js:573:30)
Error
dts-gen -m jest-fetch-mock
Environment