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
{{ message }}
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.
Using version 3.5.0 of this package with webpack results in this error:
TypeError: introJs is not a function
It is caused by intro.js@2.5.0 exporting system: it exports itself as an object when using webpack or RequireJS, while exports itself as a function using window (see line 1984).
This error would be fixed using latest version of intro.js but your package.json still requires version 2.5.0 while in master it has been fixed in a5b4f9f commit.
Could you please merge the change to make the package work with Webpack? Or at least could you fix the import system changing the code to:
Until you update your package, the possible quick fix (like an hack, but it works) is to install latest intro.js and remove the downloaded node_modules inside your package
The text was updated successfully, but these errors were encountered:
MatteoMeil
changed the title
introJs is not a function with webpack
introJs is not a function using webpack
Oct 10, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using version 3.5.0 of this package with webpack results in this error:
It is caused by
intro.js@2.5.0
exporting system: it exports itself as an object when using webpack or RequireJS, while exports itself as a function usingwindow
(see line 1984).This error would be fixed using latest version of
intro.js
but yourpackage.json
still requires version 2.5.0 while in master it has been fixed in a5b4f9f commit.Could you please merge the change to make the package work with Webpack? Or at least could you fix the import system changing the code to:
?
Until you update your package, the possible quick fix (like an hack, but it works) is to install latest intro.js and remove the downloaded node_modules inside your package
The text was updated successfully, but these errors were encountered: