You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested the issue with the latest version of the product
Issue Description
Expectation
A valid build/tasks/metadata-function-map.js like in version 4.8.4
// This file is automatically generated using build/tasks/metadata-function-map.jsimportabstractroleEvaluatefrom'../../checks/aria/abstractrole-evaluate.js';importariaAllowedAttrEvaluatefrom'../../checks/aria/aria-allowed-attr-evaluate.js';
....constmetadataFunctionMap={'abstractrole-evaluate': abstractroleEvaluate,'accesskeys-after': accesskeysAfter,
....
// This file is automatically generated using build/tasks/metadata-function-map.jsimportlib\checks\visibility\hiddenContentEvaluatefrom'../../../lib\checks\visibility\hidden-content-evaluate.js';importlib\checks\tables\thHasDataCellsEvaluatefrom'../../../lib\checks\tables\th-has-data-cells-evaluate.js';
....constmetadataFunctionMap={'lib\checks\aria\abstractrole-evaluate': lib\checks\aria\abstractroleEvaluate,'lib\checks\aria\aria-allowed-attr-evaluate': lib\checks\aria\ariaAllowedAttrEvaluate,
....
How to Reproduce
Build on windows with
npm run build -- --lang=de
Additional context
i think it is something with an upgraded dependency, because all buits in older versions are still working and I see nothing in the changelog that seems like an cause.
The text was updated successfully, but these errors were encountered:
straker
added
fix
Bug fixes
ci
Continuous Integration or build issues
and removed
ungroomed
Ticket needs a maintainer to prioritize and label
labels
Apr 15, 2024
We found the issue. In v4.9.0 we switched from globby to glob. Turns out glob on windows returns the path with double slashes which when passed to path.basename directly wasn't working. We have a fix in progress that will normalize the paths and fix a few other instances where glob returned paths in a format we weren't expecting on windows.
Product
axe-core
Product Version
4.9.0
Latest Version
Issue Description
Expectation
A valid build/tasks/metadata-function-map.js like in version 4.8.4
Actual
build fails with
Running "esbuild:core" (esbuild) task > lib/core/base/metadata-function-map.js:2:11: error: Syntax error "c"
How to Reproduce
Build on windows with
Additional context
i think it is something with an upgraded dependency, because all buits in older versions are still working and I see nothing in the changelog that seems like an cause.
The text was updated successfully, but these errors were encountered: