Skip to content
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

Fix warnings when run the dev environment to a theme #173

Open
javierlopezdeancos opened this issue Jul 2, 2024 · 0 comments
Open

Fix warnings when run the dev environment to a theme #173

javierlopezdeancos opened this issue Jul 2, 2024 · 0 comments
Assignees
Labels
🐛 bug An unexpected behavior

Comments

@javierlopezdeancos
Copy link
Owner

Probably this is because we are running 2 environments if we execute npm run dev:theme:caramel

[1] [0] ../../core/src/default-theme/default.css
[1] [0] 227:2	⚠  Can't read asset file "/Users/javierlopezdeancos/Code/higgsboson.org/higgsboson/packages/themes/caramel/src/assets/svg/logo-light.svg". Ignoring. [postcss-copy-assets]
[1] [0] 288:4	⚠  Can't read asset file "/Users/javierlopezdeancos/Code/higgsboson.org/higgsboson/packages/themes/caramel/src/assets/svg/logo-dark.svg". Ignoring. [postcss-copy-assets]
[1] [0] 
[1] [0]  ⚠ 2 problems (0 errors, 2 warnings)
[1] [0] 
[1] [0] Finished src/index.css in 197 ms

Technically, we are running under the hood 2 dev environments,

  • the higgsboson core dev environment
  • the caramel theme dev environment

So probably reference take some collisions.
Probably the best way to proceed is not run automagically those 2 env under the hood and leave the developer the responsibility to run them in separate shell processes?

@javierlopezdeancos javierlopezdeancos added the 🐛 bug An unexpected behavior label Jul 2, 2024
@javierlopezdeancos javierlopezdeancos self-assigned this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug An unexpected behavior
Projects
Status: No status
Development

No branches or pull requests

1 participant