-
I'm using react-scripts@5.0.1, which is locked towebpack-dev-server@4.x. any solutions? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 4 comments 15 replies
-
Unfortunately |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
@alexander-akait, any update ? |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@alexander-akait bump and thanks in advance |
BetaWas this translation helpful?Give feedback.
All reactions
-
@alexander-akait bump and thanks in advance |
BetaWas this translation helpful?Give feedback.
All reactions
👀 1
-
@alexander-akait any update? Unfortunately we are unable to move away from react-scripts at this time and need to be able to build locally. I believe@Wajih-Ul-Hasan said he had a PR for this already. Are security fixes still on the table for version 4? Thank you! |
BetaWas this translation helpful?Give feedback.
All reactions
-
seewebpack/webpack-dev-server#5515 andwebpack/webpack-dev-server#5514 |
BetaWas this translation helpful?Give feedback.
All reactions
-
@alexander-akait can you provide the any alternative to resolve this issue we need to fix it for our client by the end of the next Monday. |
BetaWas this translation helpful?Give feedback.
All reactions
-
You can send a PR with backporting fixes to v4, I am planning to do it, but can't find time right now |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@alexander-akait PR created with backporting fixes to v4. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks@Wajih-Ul-Hasan !@alexander-akait , it this PR being considered for a potential version 4 update? The problem we have, is we cannot override to webpack-dev-server 5.2.2 because of the config-override changes in format that react-scripts uses. It causes our build to fail. The vulnerability, while I realize is dev env only, is something we really want to get cleaned up for our client. Thanks so much for discussing this! |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
@alexander-akait I simply override "webpack-dev-server" to version "^5.2.2", and it fixed my issue. Since webpack-dev-server is only used for local development, and production environments serve only static files, this override does not affect the app’s behavior in production — at least as far as I understand it. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yeah, webpack-dev-server is only for development env |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
But it breaks the ability to run the dev server for the developers local environments. Is there a link for us to track v4 progress? |
BetaWas this translation helpful?Give feedback.
All reactions
👍 4
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I patched it manually for my own repo:facebook/create-react-app#17095 (comment) if yall need an alternative@DannyMeister@mikeCapozziICF |
BetaWas this translation helpful?Give feedback.