-
Notifications
You must be signed in to change notification settings - Fork 10
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
[BUG] Installing Compound via the Emulsify CLI results in missing .scss files from the component structure. #115
Comments
I couldn't even install it, using Node 20.13.0. Case 1:
Case 2:
|
Hi, |
@karldivad confirmed, getting the same issue. |
getting the same issue as @karldivad , using Node 20.14.0. @callinmullaney do you have any updates on the issue? |
Hi there, facing the same issue as @bariman ... ERROR Unable to install system assets and/or required components: Error: ENOENT: no such file or directory, lstat '/Users/username/.emulsify/cache/systems/ba74aaaabd9722679f9a856e78fc9f80/compound/components/00-base/01-colors' EDIT: |
I am too currently experiencing this issue. It keeps looking into the incorrect folder when its generating a different folder. Has anyone found a fix yet? |
I believe the hash mismatch noted by karldivad means that this likely an issue with emulsify-cli, not with compound. |
"The system you attempted to install (compound) is invalid, as it does not contain a valid configuration file." - everything freshly installed, I get the same error. |
Hello everyone. Apologies for the delay. I have a coworker looking into this as it does appear to be sourced from the CLI and not compound. We are comparing the CLI's expected system schema (https://github.com/emulsify-ds/emulsify-cli/blob/develop/src/schemas/system.json) with Compound's |
I am getting the same error while installing the 'compound' system that configuration file is invalid. |
Same issue. This can be worked around by manually installing Compound (download the compound zip, copy files/folders into theme). |
@sryanb Do I drag EVERYTHING from the compound directory or just the assets, components, config and templates directories? Thanks! |
Describe the bug
Installing Compound via the Emulisyf CLI (either by name or --repository --checkout options), results in missing .scss files found in the components folder. This results in a failed build/develop process due to missing index and component files (e.g
/components/00-base/base.scss
orcomponents/00-base/04-spacing
).This is likely due to the outdated system.emulsify.json found in the project root. New .scss index files and changes to structure need to be added/updated.
To Reproduce
Steps to reproduce the behavior:
emulsify init "MY_THEME"
within a Drupal project to intirialize Emuslify theme build.emulsify system install compound
oremulsify system install --repository https://github.com/emulsify-ds/compound.git --checkout 2.0.0
to install the Compond system.npm install
npm run develop
ornpm run build
.Expected behavior
After installing Compound via the Emuslify CLI, all files included in the repository should be present within the
components
stucture. This should result in a successful build/develop process.Desktop
The text was updated successfully, but these errors were encountered: