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

Webpack Error: axe-core cannot be extracted #3771

Closed
1 task done
TheJaredWilcurt opened this issue Nov 6, 2022 · 4 comments
Closed
1 task done

Webpack Error: axe-core cannot be extracted #3771

TheJaredWilcurt opened this issue Nov 6, 2022 · 4 comments
Labels
fix Bug fixes pr A pr has been created for the issue
Milestone

Comments

@TheJaredWilcurt
Copy link

Product

axe-core

Product Version

4.5.0 and 4.5.1

Latest Version

  • I have tested the issue with the latest version of the product

Issue Description

Steps to Reproduce:

I'm using vue-axe in a Vue 3, Vue-CLI project.

  1. Install the Vue-CLI to generate an app from a boilerplate
    • npm install @vue/cli
    • vue create bug-repro > "Default Vue 3"
  2. Follow the instructions in the vue-axe README:
  3. Start webpack
    • npm run serve

Expected:

  • Webpack starts up with no warnings/errors.

Actual:

WARNING  Compiled with 1 warning

warning  in ./node_modules/axe-core/axe.js

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Additional information:

Issue was not present in v4.4.3. It is present in v4.5.0 and v4.5.1.

@TheJaredWilcurt TheJaredWilcurt added the ungroomed Ticket needs a maintainer to prioritize and label label Nov 6, 2022
@straker
Copy link
Contributor

straker commented Nov 7, 2022

Thanks for letting us know. We'll take a look to see what is causing the issue. I know we did some dependency updates recently so maybe that caused it? Will have to find out.

@straker straker added fix Bug fixes and removed ungroomed Ticket needs a maintainer to prioritize and label labels Nov 7, 2022
@straker straker added this to the axe-core 4.5.2 milestone Nov 7, 2022
@seanBlommaert
Copy link

The error seems to occur on 2 places. Hope this helps.

./node_modules/axe-core/axe.js 379:46-53
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
./node_modules/axe-core/axe.js 386:15-22
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

@straker straker added the pr A pr has been created for the issue label Nov 10, 2022
@straker
Copy link
Contributor

straker commented Nov 14, 2022

Status update on this. We should have a fix out for this in 4.5.2 (releasing today). If after 4.5.2 you are still experiencing problems please let us know.

@padmavemulapati
Copy link

dev task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fixes pr A pr has been created for the issue
Projects
None yet
Development

No branches or pull requests

4 participants