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
This was working fine in previous versions up to and including 7.5.0.
Now in 7.6.0 we see this error message:
Error: Webpack Compilation Error
./cypress/integration/core/cards/cards.spec.js
Module not found: Error: Can't resolve 'Support/filterTests' in '/Volumes/github-image/hipocampo/cypress/integration/core/cards'
resolve 'Support/filterTests' in '/Volumes/github-image/hipocampo/cypress/integration/core/cards'
Parsed request is a module
using description file: /Volumes/github-image/hipocampo/package.json (relative path: ./cypress/integration/core/cards)
Field 'browser' doesn't contain a valid alias configuration
Looked for and couldn't find the file at the following paths:
[/Volumes/github-image/hipocampo/cypress/integration/core/cards/node_modules]
[/Volumes/github-image/hipocampo/cypress/integration/core/node_modules]
[/Volumes/github-image/hipocampo/cypress/integration/node_modules]
[/Volumes/github-image/hipocampo/cypress/node_modules]
[/Volumes/github-image/node_modules]
[/Volumes/node_modules]
[/node_modules]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests.js]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests.json]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests.jsx]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests.mjs]
[/Volumes/github-image/hipocampo/node_modules/Support/filterTests.coffee]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A javascript file is being imported into our cypress spec files using a webpack alias like this:
import filterTests from 'Support/filterTests';
With the alias defined as:
This was working fine in previous versions up to and including 7.5.0.
Now in 7.6.0 we see this error message:
Beta Was this translation helpful? Give feedback.
All reactions