You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the code above throws TypeError: Cannot read property 'apply' of undefined
$ node replicate.js
node_modules/javascript-state-machine/lib/state-machine.js:597
cstor = function() { this._fsm.apply(this, arguments) };
^
TypeError: Cannot read property 'apply' of undefined
at Object.cstor (node_modules/javascript-state-machine/lib/state-machine.js:597:38)
at Object.<anonymous> (replicate.js:12:22)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:760:12)
at startup (internal/bootstrap/node.js:308:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:878:3)
The text was updated successfully, but these errors were encountered:
Using:
Using the following code:
Running the code above throws
TypeError: Cannot read property 'apply' of undefined
The text was updated successfully, but these errors were encountered: