-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: partial fix for #21997 & #22004, throw the originalError #22009
Conversation
Thanks for taking the time to open a PR!
|
npm/webpack-dev-server/package.json
Outdated
@@ -18,7 +18,7 @@ | |||
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js" | |||
}, | |||
"dependencies": { | |||
"find-up": "6.3.0", | |||
"find-up": "5.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this need to be downgraded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking it was because 6.3.0
is ESM only, and webpack-dev-server
is not an ESM project - though I guess we're using importModule
so that shouldn't matter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So can this be reverted?
…ss-io/cypress into tgriesser/fix/21997-fix-invalid-ts * 'tgriesser/fix/21997-fix-invalid-ts' of github.com:cypress-io/cypress: fix: scroll of inline specs list (#21994)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
Co-authored-by: Zach Bloomquist <git@chary.us>
npm/webpack-dev-server/package.json
Outdated
@@ -46,4 +46,4 @@ | |||
"files": [ | |||
"dist" | |||
] | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: newline
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
User facing changelog
Throws the first error encountered when failing due to an esm import, when Node's ESM loading cannot not handle it. This will provide better information about the actual error encountered, such as when processed via
ts-node
for TypeScript files.Additional details
Not the full fix for the issues, but will surface better warnings around the issue
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?