-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to initalise bootstrap-multiselect in npm #585
Labels
Comments
Related: #584. |
I was able to get it working this way var $ = require('jquery');
var multiselect = require('bootstrap-multiselect');
$.multiselect = multiselect;
$("#example").multiselect(); |
Will add this to the FAQ. |
Can't resolve 'knockout' in '...node_modules\bootstrap-multiselect\dist\js' not found |
Seconding @UseMuse. Anyone else have a solution? Potentially using 'import' syntax? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
I'm having issues on intalising the bootstrap-multiselect module in my web application. I am getting the following 'stacktrace'.
bootstrap-multiselect.js:1416
}(window.jQuery);
^
ReferenceError: window is not defined
at Object. (bootstrap-multiselect.js:1416:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (app.js:14:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
The text was updated successfully, but these errors were encountered: