Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at module.exports (http://localhost:8080/js/bundle.js:115774:29) at Browsochrones.WebWorkerPromiseInterface (http://localhost:8080/js/bundle.js:115620:47) at new Browsochrones (http://localhost:8080/js/bundle.js:114671:87) at ScenarioMap._callee$ (http://localhost:8080/js/bundle.js:114226:34) at tryCatch (http://localhost:8080/js/bundle.js:15826:41) at Generator.invoke [as _invoke] (http://localhost:8080/js/bundle.js:16117:23) at Generator.prototype.(anonymous function) [as next] (http://localhost:8080/js/bundle.js:15878:22) at step (http://localhost:8080/js/bundle.js:114135:192) at http://localhost:8080/js/bundle.js:114135:438
My code:
import Browsochrones from 'browsochrones'const browsochrones = new Browsochrones();
The following is the detailed error:
Uncaught (in promise) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at module.exports (http://localhost:8080/js/bundle.js:115774:29) at Browsochrones.WebWorkerPromiseInterface (http://localhost:8080/js/bundle.js:115620:47) at new Browsochrones (http://localhost:8080/js/bundle.js:114671:87) at ScenarioMap._callee$ (http://localhost:8080/js/bundle.js:114226:34) at tryCatch (http://localhost:8080/js/bundle.js:15826:41) at Generator.invoke [as _invoke] (http://localhost:8080/js/bundle.js:16117:23) at Generator.prototype.(anonymous function) [as next] (http://localhost:8080/js/bundle.js:15878:22) at step (http://localhost:8080/js/bundle.js:114135:192) at http://localhost:8080/js/bundle.js:114135:438
My code:
import Browsochrones from 'browsochrones'
const browsochrones = new Browsochrones();