Open rafzielinski opened 5 years ago
There's some kind of conflict between versions of webpacker that's provided with rails new app --webpack
(webpack 4) and one used in slickr (webpack 3).
A temporary solution to this can be to update gem version in Gemfile:
gem 'webpacker', '~> 3.5'
and reinstall webpacker in a project
bundle exec rails webpacker:install:react
ps. you might need to reinstall slickr as well.
Hi 💀
TL:DR - I've got errors, don't want them
I'm starting a new project like this:
Then adding to Gemfile:
Next in terminal:
Except that .babelrc error all went well. FYI: it doesn't change anything if I set up Active Admin first or together with Slickr. _FYI2: I've also tried to change slickr_cms in package.json to 'masterpreviewable' branch, no luck
What's wrong:
I've got a bunch of errors on
./bin/webpack-dev-server
Few like this related to different files in same pkg:
I've tried to add .babelrc manually to the project, then I got this above previous errors:
error on: rails g slickr:install
Any help appreciated 🙏