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

Missing cache file in dist #519

Closed
Kosai106 opened this issue Jun 2, 2022 · 2 comments
Closed

Missing cache file in dist #519

Kosai106 opened this issue Jun 2, 2022 · 2 comments

Comments

@Kosai106
Copy link
Contributor

Kosai106 commented Jun 2, 2022

ERROR in ./node_modules/@axe-core/react/dist/index.js
Module not found: Error: Can't resolve './cache' in '/Users/**/**/**/node_modules/@axe-core/react/dist'
 @ ./node_modules/@axe-core/react/dist/index.js 20:30-48
 @ ./src/index.tsx

Product: react

Expectation:
I expect the file to be present so my application will run.

Actual:
The file is missing from the node_modules meaning my app is not able to compile and start.

Motivation:
4.4.0 works but doesn't support React 17
4.4.2 doesn't work because of this issue #479, but solves React 17 support...

Hence why we use @axe-core/react@next 🙃

axe-core version: 4.4.1 # This is defined in your own package
@axe-core/react: 4.4.3-alpha.288

- Node version: 16.13.0
- Platform: MacOS Monterey
Kosai106 added a commit to Kosai106/axe-core-npm that referenced this issue Jun 2, 2022
@michael-siek
Copy link
Member

Hey @Kosai106 Thank you very much for the contribution! this was released in 4.4.3.

@padmavemulapati
Copy link

cache files observed and not finding error with ../react/dist/index.js.
Tests are working as expected
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants