E2E tests were working fine in React/Vite repository but then moved to subdirectory of another repo #24426
Unanswered
aaronfulkerson
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, so we just moved our frontend repository into a subdirectory of our backend repository and now we're suddenly getting webpack errors when we go to run the E2E tests.
"Error: Webpack Compilation Error"
webpack seems to be attempting to reach into a non-existant node_modules directory every time we use an absolute import which we've prefixed with the '@' character. For example "custom_static/src/node_modules" or "custom_static/src/components/elements/node_modules".
This was all working fine before we moved the repository. What could be happening?
Beta Was this translation helpful? Give feedback.
All reactions