Roots Discourse

Boostrap 4 js doesn't works


module.exports = {
STATIC_PATH: __dirname,

is the error that i have. Is like boostrap 4 js no exist in my project


That’s not an error, not sure what you’re trying to say.


so, i use boostrap to make a carousel, but the carousel doesn’t works , if i use boostrap js in a cdn works, but with bower doesn’t works an appear the error Uncaught ReferenceError: module is not defined
at index.js:1


Please post the full JS that you modified in Sage in order to try this. Without code we have nothing to go off of :slight_smile: