Closed Lars- closed 4 years ago
Yes, so in v0.9.0 there were a lot of braking changes: https://github.com/railsware/bozon/releases/tag/v0.9.0 So it requires some efforts to migrate projects to newer build system. As for jquery - make sure it is added to your root package.json file. Bozon now uses single package.json file, so all application dependencies should be listed there.
So, I upgrade Bozon to the latest version (0.9.2) and now nothing is working anymore. It won't compile anything anymore because a lot of foldernames changed (I fixed that) and also no node_modules are loaded it seems to only look for CSS files when I use require?
For example, this worked in a previous version:
const $ = require('jquery');
Now I get this error when starting the app with
bozon start
:How do I require node_modules in the latest version?
By the way, if I don't require any node modules it starts and in the devTools I can use
require('jquery')
without any problems...Thanks.