-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Invalid resource URL #20968
Comments
That's a valid URI. A data URI, for instance, is of the form The error there is caused by the content failing to parse. |
@clydin If this is correct URI, then the bug is here:
Because it requires slashes. |
Yes. that should be corrected. However, that would only affect i18n extraction and not a build. |
As a temporary workaround, you can use 12.0.0 to extract and then re-upgrade to the latest until the next patch release. |
…ring i18n extraction Fixes angular#20968
…ring i18n extraction Fixes #20968
Closed via #20971 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes.
Description
Resource URL generated by WebpackResourceLoader is invalid. It is caused by this line:
angular-cli/packages/ngtools/webpack/src/resource_loader.ts
Line 110 in 638344a
It should looks like this:
This is regression caused by this change:
8e741e1#diff-8f746eb1f9444d4c0e52eea0175d6a080fd8f7c38b8c8056e5abba89de3337c4
For me, this bug currently causes this error during i18n extraction:
The text was updated successfully, but these errors were encountered: