-
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
Module not found: Error: Can't resolve 'knockout' in '~/node_modules/bootstrap-multiselect/dist/js' #1123
Comments
Same issue after upgrade to latest version. |
No solution yet, all references are up to date too. |
I have also had this in conjunction with I notice in the changelog for this package that some work has been done with regards to using requirejs or require etc, I don't understand it myself as I'm not sure what changes were made and for what purpose. But can see the pattern @davidstutz - is there any reason why the devDependencies list in package.json on tag 0.9.15 is different to what you get when you download it from NPM? i.e. knockout is not included in the repos package.json anywhere, but when you download it from npm, it has knockout: "*" in there. |
any update? |
You can try to add these rows to
it works for me |
Any updates on this one? |
For Ruby on Rails project with webpacker I had to add this to environment.loaders.append('this-window', {
test: /bootstrap-multiselect/,
use: [
{
loader: 'imports-loader',
options: {
wrapper: 'window',
additionalCode: 'var define = false;',
},
},
],
}); + |
I installed bootstrap-multiselect 0.9.15 and I got the error |
Facing this issue with ^0.9.13-1:
The text was updated successfully, but these errors were encountered: