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

Reference to PostCSS is not working #136

Closed
blackfalcon opened this issue Dec 31, 2024 · 0 comments · Fixed by #138
Closed

Reference to PostCSS is not working #136

blackfalcon opened this issue Dec 31, 2024 · 0 comments · Fixed by #138
Assignees
Labels
auro-header not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes

Comments

@blackfalcon
Copy link
Member

blackfalcon commented Dec 31, 2024

Please verify the version of auro-header you have installed

@latest

Please describe the bug

See the following code:

"postCss:component": "node ./node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs",

When running npm run postCss:component I get the following error

> @aurodesignsystem/[email protected] postCss:component
> node ./node_modules/@aurodesignsystem/auro-library/scripts/build/postCss.mjs

Unable to scan directory: Error: ENOENT: no such file or directory, scandir '/Users/[email protected]/src/auro/header/node_modules/@aurodesignsystem/auro-library/scripts/src'

This issue comes from the following line in auro-library:

const directoryPath = path.join(__dirname, '../src');

The relative path in the script is looking for a ./src dir in the auro-library dir.

Reproducing the error

None

Expected behavior

Post CSS should run when requested.

What browsers are you seeing the problem on?

No response

Additional context

See the following issue in auro-library

Exit criteria

This issue can be closed once the code is corrected in auro-library, the npm is updated, and will allow the PostCSS functions to run as expected.

@blackfalcon blackfalcon added Type: Bug Bug or Bug fixes not-reviewed Issue has not been reviewed by Auro team members auro-header labels Dec 31, 2024
@jason-capsule42 jason-capsule42 linked a pull request Jan 2, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-header not-reviewed Issue has not been reviewed by Auro team members Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants