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
I'm using Clappr in React 16.13.1. The player renders fine without plugins and renders as expected when I'm using other plugins including clappr-playback-rate-plugin, clappr-chromecast-plugin, and clappr-audio-selector-plugin. But for some reason when I import like this I get the error:
import LevelSelector from 'clappr-level-selector-plugin';
ReferenceError: installedModules is not defined
(anonymous function)
node_modules/clappr-level-selector-plugin/dist/level-selector.js:44
41 | /******/ __webpack_require__.m = modules;
42 | /******/
43 | /******/ // expose the module cache
> 44 | /******/ __webpack_require__.c = installedModules;
45 | /******/
46 | /******/ // define getter function for harmony exports
47 | /******/ __webpack_require__.d = function(exports, name, getter) {
The text was updated successfully, but these errors were encountered:
adam-ducker
changed the title
Import in react cases error: "ReferenceError: installedModules is not defined"
Import in react causes error: "ReferenceError: installedModules is not defined"
Mar 3, 2021
I'm using Clappr in React 16.13.1. The player renders fine without plugins and renders as expected when I'm using other plugins including clappr-playback-rate-plugin, clappr-chromecast-plugin, and clappr-audio-selector-plugin. But for some reason when I import like this I get the error:
From package.json:
Error:
The text was updated successfully, but these errors were encountered: