We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
assets:precompile
Steps to reproduce:
rails new store -j esbuild -d postgresql --css=tailwind
bundle add solidus
bin/rails g solidus:install
devise
none
bundle add solidus_admin
bin/rails g solidus_admin:install
bin/rake assets:precompile
output:
#> bin/rake assets:precompile yarn install v1.22.19 [1/4] 🔍 Resolving packages... success Already up-to-date. ✨ Done in 0.05s. yarn run v1.22.19 $ esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets app/assets/builds/application.js 235.8kb app/assets/builds/application.js.map 409.9kb ✨ Done in 0.11s. yarn install v1.22.19 [1/4] 🔍 Resolving packages... success Already up-to-date. ✨ Done in 0.05s. yarn run v1.22.19 $ tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css --minify Rebuilding... Done in 96ms. ✨ Done in 0.40s. Specified config file /Users/peterberkenbosch/code/sandbox/store/config/tailwind.config.js does not exist. rake aborted! Command failed with exit 9: /Users/peterberkenbosch/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/tailwindcss-rails-2.0.30-arm64-darwin/exe/arm64-darwin/tailwindcss Tasks: TOP => assets:precompile => tailwindcss:build (See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
moving the generated tailwind.config.js to the config directory to match the expectation breaks the default Rails installation.
tailwind.config.js
Sorry, something went wrong.
Closing this as I can't reproduce this anymore with the latest versions from main branch.
I'm having this issue with a fresh install. 🥲
Specifically, assets compile fine in development environment, but fail in production environment.
development
production
No branches or pull requests
Steps to reproduce:
rails new store -j esbuild -d postgresql --css=tailwind
bundle add solidus
bin/rails g solidus:install
(only addingdevise
andnone
for frontend and payment systems)bundle add solidus_admin
bin/rails g solidus_admin:install
bin/rake assets:precompile
output:
The text was updated successfully, but these errors were encountered: