stimulus_controllers icon indicating copy to clipboard operation
stimulus_controllers copied to clipboard

regeneratorRuntime is not defined

Open scottbarrow opened this issue 3 years ago • 3 comments

I followed the setup instructions as per the readme but unfortunately getting an error. Any advice on how I can troubleshoot this further? Node.js v14.0.0. Rails 6.0.3.3 Stimulus Reflex 3.3.0

Uncaught ReferenceError: regeneratorRuntime is not defined
    at main.js:1
    at Module../node_modules/@hopsoft/controllers/dist/main.js (main.js:1)
    at __webpack_require__ (bootstrap:785)
    at fn (bootstrap:150)
    at Module../app/javascript/v3/controllers/index.js (index.js:1)
    at __webpack_require__ (bootstrap:785)
    at fn (bootstrap:150)
    at Module../app/javascript/packs/v3.js (v3.js:1)
    at __webpack_require__ (bootstrap:785)
    at fn (bootstrap:150)
(anonymous) @ main.js:1
./node_modules/@hopsoft/controllers/dist/main.js @ main.js:1
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
./app/javascript/v3/controllers/index.js @ index.js:1
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
./app/javascript/packs/v3.js @ v3.js:1
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
6 @ log$:23
__webpack_require__ @ bootstrap:785
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ v3-7a4636e7093300e307d5.chunk.js:1
stimulus_reflex.js:266 Uncaught TypeError: Cannot read property 'schema' of undefined
    at stimulus_reflex.js:266
    at utils.js:32
(anonymous) @ stimulus_reflex.js:266
(anonymous) @ utils.js:32
setTimeout (async)
(anonymous) @ utils.js:30
(anonymous) @ stimulus_reflex.js:392
load (async)
./node_modules/stimulus_reflex/stimulus_reflex.js @ stimulus_reflex.js:391
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
./app/javascript/v3/controllers/index.js @ index.js:1
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
./app/javascript/packs/v3.js @ v3.js:1
__webpack_require__ @ bootstrap:785
fn @ bootstrap:150
6 @ log$:23
__webpack_require__ @ bootstrap:785
checkDeferredModules @ bootstrap:45
webpackJsonpCallback @ bootstrap:32
(anonymous) @ v3-7a4636e7093300e307d5.chunk.js:1
2stimulus_reflex.js:266 Uncaught TypeError: Cannot read property 'schema' of undefined
    at stimulus_reflex.js:266
    at utils.js:32

scottbarrow avatar Dec 05 '20 21:12 scottbarrow

@scottbarrow did you find a solution or alternative?

vitobotta avatar Jan 14 '21 17:01 vitobotta

@vitobotta I did not, and have not tried again since just yet

scottbarrow avatar Jan 14 '21 17:01 scottbarrow

@scottbarrow ok, thanks

vitobotta avatar Jan 14 '21 18:01 vitobotta