Skip to content
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

[Bug]: Bug in initializing worker script : Failed to construct 'URL': Invalid URL #8134

Closed
pushkargupta9807 opened this issue Oct 16, 2024 · 4 comments · Fixed by #8143
Closed
Assignees
Labels
bug Something isn't working

Comments

@pushkargupta9807
Copy link

System Info

System:
OS: Linux 6.5 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (32) x64 AMD EPYC 7763 64-Core Processor
Memory: 115.62 GB / 125.78 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 20.11.0 - /usr/local/share/nvm/versions/node/v20.11.0/bin/node
Yarn: 1.23.19 - /usr/bin/yarn
npm: 10.2.4 - /usr/local/share/nvm/versions/node/v20.11.0/bin/npm
Watchman: 20240317.093234.0 - /usr/local/bin/watchman
Browsers:
Chrome: 126.0.6478.126

Details

I started running into the below error when initializing the worker script with v 1.0.5 and with latest 1.0.11

Image

it is a simple worker init code as below which was working fine in v1.0.4.

Image

I reported the same bug in this thread , however the fix which landed in v 1.0.11 still has this issue.
#7866 (comment)

Reproduce link

No response

Reproduce Steps

The original issue was repro by the author here :
#7866 (comment)

@pushkargupta9807 pushkargupta9807 added bug Something isn't working pending triage The issue/PR is currently untouched. labels Oct 16, 2024
@LingyuCoder LingyuCoder self-assigned this Oct 16, 2024
@LingyuCoder
Copy link
Contributor

Seems I have found where the error is. I will try to fix it

@LingyuCoder
Copy link
Contributor

LingyuCoder commented Oct 16, 2024

Please try this canary version @rspack/[email protected]

@LingyuCoder LingyuCoder removed the pending triage The issue/PR is currently untouched. label Oct 16, 2024
@pushkargupta9807
Copy link
Author

@LingyuCoder is the above canary version published? I could not find that in the npm store.

@LingyuCoder
Copy link
Contributor

LingyuCoder commented Oct 17, 2024

@LingyuCoder is the above canary version published? I could not find that in the npm store.

My fault, we have migrated canary versions to another package. Please use @rspack/[email protected].

You can follow this guide to override your @rspack/core with @rspack/core-canary


merged the pr, if this does not work, just reopen this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants