-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
First off, thanks for making this example repo and for making markovjs!
I'm using node v6.11.2
I can run this example fine with npm run-script start:dev
When I build using npm run-script build and try to run with npm run-script start I get the following error:
➜ markovjs-gridworld git:(master) npm run-script start
> [email protected] start /home/josephe/markovjs-gridworld
> node ./lib/index.js
/home/josephe/markovjs-gridworld/node_modules/regenerator-runtime/runtime.js:573
throw exception;
^
TypeError: Object.values is not a function
I can solve this by installing the object.values shim and manually changing lib/index.js. Any idea why object.values doesn't get transpiled using the current defaults?
Metadata
Metadata
Assignees
Labels
No labels