cssbundling-rails icon indicating copy to clipboard operation
cssbundling-rails copied to clipboard

cssbundling-rails in monorepo does not work since 1.4.3

Open yskkin opened this issue 9 months ago • 0 comments

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]"
}

yskkin avatar Mar 06 '25 13:03 yskkin