Skip to content
This repository was archived by the owner on Aug 7, 2018. It is now read-only.
This repository was archived by the owner on Aug 7, 2018. It is now read-only.

wavesurfer.init is not a function #81

Description

@basilfarraj

So I installed both react-wavesurfer and wavesurfer.js packages.
Added the alias to my webpack.config.dev.js
wavesurfer: require.resolve('wavesurfer.js')
Added the plugin as well:

new webpack.ProvidePlugin({
      WaveSurfer: 'wavesurfer.js'
    })

And I get this error:
uncaught at _callee2 TypeError: this._wavesurfer.init is not a function

Any idea?

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