Skip to content

cssbundling-rails in monorepo does not work since 1.4.3 #170

New issue

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

Open
yskkin opened this issue Mar 6, 2025 · 0 comments
Open

cssbundling-rails in monorepo does not work since 1.4.3 #170

yskkin opened this issue Mar 6, 2025 · 0 comments

Comments

@yskkin
Copy link

yskkin commented Mar 6, 2025

root_repo
├── rails_app
│   └── package.json
├── package.json
└── yarn.lock

With this monorepo structure, cssbundling-rails began to fail since 1.4.3.

Error message of bin/rails assets:precompile:

bin/rails aborted!
cssbundling-rails: No suitable tool found for installing JavaScript dependencies

Tasks: TOP => assets:precompile => css:build => css:install
(See full trace by running task with --trace)

Contents of repo_root/package.json:

{
  "workspaces": [
    "rails_app",
    "other_project"
  ],
  "private": true,
  "devDependencies": {
     ....
  },
  "packageManager": "[email protected]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant