Backend/NodeJS

ReferenceError: regeneratorRuntime is not defined

하우아유두잉 2019. 12. 9. 12:11

 

 

I'm usually using co module in my projects.

 

I got one issue.

 

Error:

co( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
	...
}

 

 

Solution:

// start-up file

require("babel-polyfill");

 

 

 

Reference : link