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
Hi Guys, for the life of me I cant seem to resolve this issue.
Set up:
Im using laravel-mix which uses Webpack to compile my JS files. So far in my project I haven't had any issues with including (require('PACK NAME HERE')) packages.
But when i require('bootstrap3-wysihtml5-npm'). I keep getting this error:
ERROR in ./node_modules/bootstrap3-wysihtml5-npm/dist/bootstrap3-wysihtml5.min.js Module not found: Error: Can't resolve 'bootstrap' in '......../node_modules/bootstrap3-wysihtml5-npm/dist'
At first I though it maybe to do with the order in which my packages were being require but that didn't seem to be the issue.
just as a reference, below is the order on the required packages file.
Also I have tried exchanging require('bootstrap-sass'); for
require('./bootstrap'); "required locally, outside node_modules
and
require('bootstrap') "version 3".
But none of them helped
Hope you can help
Thanks
Tom
The text was updated successfully, but these errors were encountered:
Hi Guys, for the life of me I cant seem to resolve this issue.
Set up:
Im using laravel-mix which uses Webpack to compile my JS files. So far in my project I haven't had any issues with including (require('PACK NAME HERE')) packages.
But when i require('bootstrap3-wysihtml5-npm'). I keep getting this error:
ERROR in ./node_modules/bootstrap3-wysihtml5-npm/dist/bootstrap3-wysihtml5.min.js Module not found: Error: Can't resolve 'bootstrap' in '......../node_modules/bootstrap3-wysihtml5-npm/dist'
At first I though it maybe to do with the order in which my packages were being require but that didn't seem to be the issue.
just as a reference, below is the order on the required packages file.
require('jquery') require('bootstrap-sass'); require('bootstrap3-wysihtml5-npm');
Also I have tried exchanging require('bootstrap-sass'); for
require('./bootstrap'); "required locally, outside node_modules
and
require('bootstrap') "version 3".
But none of them helped
Hope you can help
Thanks
Tom
The text was updated successfully, but these errors were encountered: