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
C:\Users\Ansel\Documents\development\endow-server\node_modules\@anvilco\anvil\lib\index.js:77
regeneratorRuntime.mark(function _callee2(url, options) {
^
ReferenceError: regeneratorRuntime is not defined
at C:\Users\Ansel\Documents\development\endow-server\node_modules\@anvilco\anvil\lib\index.js:77:7
at C:\Users\Ansel\Documents\development\endow-server\node_modules\@anvilco\anvil\lib\index.js:176:6
at Object.<anonymous> (C:\Users\Ansel\Documents\development\endow-server\node_modules\@anvilco\anvil\lib\index.js:292:2)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\Users\Ansel\Documents\development\endow-server\lib\anvil.js:4:15)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\Users\Ansel\Documents\development\endow-server\routes\nonprofit.js:7:34)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
[nodemon] app crashed - waiting for file changes before starting...
The text was updated successfully, but these errors were encountered:
Hey @jerzzhang, the quick fix is to yarn add @babel/polyfill then import it before importing anvil. Though this is annoying if you are not using babel.
We are using async/await functions in the library which babel transpiles down with this regeneratorRuntime reference. We'll look into removing this dep...
I am running into an issue importing Anvil.
The text was updated successfully, but these errors were encountered: