Skip to content

× TypeError: window.plupload.Uploader is not a constructor #2

Description

@Ajaypp242

TypeError: window.plupload.Uploader is not a constructor
Plupload.initUploader
node_modules/react-plupload/lib/Plupload.js:299
296 | }, {
297 | key: 'initUploader',
298 | value: function initUploader() {

299 | this.uploader = new window.plupload.Uploader(lodash2.default.extend({
| ^ 300 | container: 'plupload
' + this.props.id,
301 | runtimes: 'html5',
302 | multipart: true,
View compiled
Plupload.runUploader
node_modules/react-plupload/lib/Plupload.js:163
160 | key: 'runUploader',
161 | value: function runUploader() {
162 | var self = this;
163 | this.initUploader();
| ^ 164 | this.uploader.init();
165 | EVENTS.forEach(function (event) {
166 | var handler = self.props['on' + event];
View compiled
Plupload.componentDidMount
node_modules/react-plupload/lib/Plupload.js:267
264 | var self = this;
265 |
266 | if (this.checkUploader()) {
267 | this.runUploader();
| ^ 268 | } else {
269 | setTimeout(function () {
270 | if (self.checkUploader()) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions