chore(build): uplift webpack-related packages to v5, 2nd attempt#28440
chore(build): uplift webpack-related packages to v5, 2nd attempt#28440hainenber wants to merge 5 commits into
webpack-related packages to v5, 2nd attempt#28440Conversation
Signed-off-by: hainenber <dotronghai96@gmail.com>
webpack-related packages to v5webpack-related packages to v5, 2nd attempt
|
Hi @hainenber. It's not working for me. Did you run Screen.Recording.2024-05-13.at.08.32.55.mov |
Signed-off-by: hainenber <dotronghai96@gmail.com>
|
@michael-s-molina Yes I can confirm the issue not yet resolved. Since IPv4 is still supported for probably eternity in Can you take another look? Thanks! |
| }; | ||
|
|
||
| const { supersetPort = 8088, superset: supersetUrl = null } = parsedEnvArg(); | ||
| const backend = (supersetUrl || `http://localhost:${supersetPort}`).replace( |
There was a problem hiding this comment.
Is this fixing anything? Someone might configure localhost to be at another IP, so localhost might be (marginally) safer.
There was a problem hiding this comment.
Hah! The answer was right there! 🤦 What a goofy change for them to make.
I wonder if forcing IPV4 like this is risky. Some might change that IP, or some might want IPV6 support.
Maybe it's worth a big find/replace to use "::" rather than "0.0.0.0" everywhere, and "127.0.0.1" to "::1", so that it'll (supposedly) support both?
There was a problem hiding this comment.
I dug deeper into the rabbit hole and Node 20 should be able to fix the IPv6-over-IPv4 issues automatically, thanks to this PR.
I tried reverting the localhost -> 127.0.0.1 change, nvm use 20, run npm ci && npm run dev-server and voila, localhost:9000 is proxied properly!
So yeah, this change can wait until Node20 is chosen for superset-frontend's .nvmrc :D
There was a problem hiding this comment.
Good to know! @michael-s-molina and I were talking about making this bump as part of the 5.0 release rather than rocking the boat beforehand. I'll try to open a PR with Node 20 sooner rather than later, and just make sure we don't merge it too soon :)
…time Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
|
Closing this for a newer one checked out from latest |
chore(build): uplift
webpack-related packages to v5SUMMARY
2nd attempt of #28342 with implemented solution from @michael-s-molina (thank you very much!)
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
npm run dev-serverresultsnpm run buildandnpm run devresults are OK without issuesTESTING INSTRUCTIONS
ADDITIONAL INFORMATION