René's URL Explorer Experiment


Title: platform-server errors with ivy-ngcc - UMD module - Angular 9.0.0-rc.7 · Issue #34544 · angular/angular · GitHub

Open Graph Title: platform-server errors with ivy-ngcc - UMD module - Angular 9.0.0-rc.7 · Issue #34544 · angular/angular

X Title: platform-server errors with ivy-ngcc - UMD module - Angular 9.0.0-rc.7 · Issue #34544 · angular/angular

Description: 🐞 bug report Affected Package The issue is caused by package @angular/platform-server Is this a regression? Yes, the previous version in which this bug was not present was: @angular/platform-server@9.0.0-rc.6 Description When trying to c...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/platform-server Is this a regression? Yes, the previous version in which this bug was not present was: @angular/platform-server...

X Description: 🐞 bug report Affected Package The issue is caused by package @angular/platform-server Is this a regression? Yes, the previous version in which this bug was not present was: @angular/platform-server...

Opengraph URL: https://github.com/angular/angular/issues/34544

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"platform-server errors with ivy-ngcc - UMD module - Angular 9.0.0-rc.7","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package @angular/platform-server\r\n\r\n### Is this a regression?\r\n\r\nYes, the previous version in which this bug was not present was: @angular/platform-server@9.0.0-rc.6\r\n\r\n\r\n### Description\r\n\r\nWhen trying to compile my application with Ivy, I get errors on ivy ngcc for platform-server when compiling for umd bundles (for SSR)\r\n\r\n## 🔬 Minimal Reproduction\r\nUpdate any project to latest version of Angular (9.0.0-rc.7).\r\n\r\nAdd following config to `angular.json`:\r\n\r\n\r\n```\r\n\"server\": {\r\n          \"builder\": \"@angular-devkit/build-angular:server\",\r\n          \"options\": {\r\n            \"outputPath\": \"dist-server\",\r\n            \"main\": \"src/main.server.ts\",\r\n            \"tsConfig\": \"src/tsconfig.server.json\"\r\n          },\r\n          \"configurations\": {\r\n            \"production\": {\r\n              \"optimization\": true,\r\n              \"outputHashing\": \"media\",\r\n              \"sourceMap\": false,\r\n              \"namedChunks\": false,\r\n              \"extractLicenses\": true,\r\n              \"vendorChunk\": false,\r\n              \"bundleDependencies\": \"all\",\r\n              \"fileReplacements\": [\r\n                {\r\n                  \"replace\": \"src/environments/environment.ts\",\r\n                  \"with\": \"src/environments/environment.prod.ts\"\r\n                }\r\n              ]\r\n            }\r\n          }\r\n        }\r\n```\r\n\r\nThen run command:\r\n\r\n`ng run MyProject:server:production`\r\n\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nCompiling @angular/platform-server : main as umd\r\nHash: f0b9625353a4d2f5af81\r\nTime: 12116ms\r\nBuilt at: 12/23/2019 8:02:36 PM\r\n  Asset      Size  Chunks  Chunk Names\r\nmain.js  1.75 KiB       0  main\r\nEntrypoint main = main.js\r\nchunk    {0} main.js (main) 28 bytes [entry] [rendered]\r\n\r\nERROR in Expected UMD module file (/node_modules/url/node_modules/punycode/punycode.js) to contain exactly one statement, but found [object Object],[object Object].\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-rc.7\r\nNode: 12.13.1\r\nOS: win32 x64\r\n\r\nAngular: 9.0.0-rc.7\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... platform-server, router, service-worker\r\nIvy Workspace: Yes\r\n\r\nPackage                                    Version\r\n--------------------------------------------------------------------\r\n@angular-devkit/architect                  0.900.0-rc.7\r\n@angular-devkit/build-angular              0.900.0-rc.7\r\n@angular-devkit/build-optimizer            0.900.0-rc.7\r\n@angular-devkit/build-webpack              0.900.0-rc.7\r\n@angular-devkit/core                       9.0.0-rc.7\r\n@angular-devkit/schematics                 9.0.0-rc.7\r\n@angular/cdk                               9.0.0-rc.5\r\n@angular/fire                              5.2.1\r\n@angular/google-maps                       9.0.0-rc.5\r\n@angular/material                          9.0.0-rc.5\r\n@angular/pwa                               0.900.0-rc.7\r\n@ngtools/webpack                           9.0.0-rc.7\r\n@nguniversal/module-map-ngfactory-loader   9.0.0-next.9\r\n@schematics/angular                        9.0.0-rc.7\r\n@schematics/update                         0.900.0-rc.7\r\nrxjs                                       6.5.3\r\ntypescript                                 3.6.4\r\nwebpack                                    4.41.2\r\n\u003c/code>\u003c/pre>","author":{"url":"https://github.com/naveedahmed1","@type":"Person","name":"naveedahmed1"},"datePublished":"2019-12-23T15:15:02Z","url":"https://github.com/angular/angular/issues/34544"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f0df1e39-7f53-9e9b-0236-478546b74d65
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9090:36A3E:1A6DDCA:23319B0:6B015A38
html-safe-nonce7d2ab24227bbe7e651c6aba7722578df0c0ac047cbaa38eccb81cc49a4f32c17
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDkwOjM2QTNFOjFBNkREQ0E6MjMzMTlCMDo2QjAxNUEzOCIsInZpc2l0b3JfaWQiOiI1NzI5NDk0Njg1NDIwOTY4NTA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac81c5ea3d505982eb8dea6aafe3c1517c4cb0c204e7a1ee3b59c92c40c34afa8a
hovercard-subject-tagissue:541795169
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/34544/issue_layout
twitter:imagehttps://opengraph.githubassets.com/659bbb9d253a924a3a4724d3cbdeb58483362403a8e340e316a2ed3096c83795/angular/angular/issues/34544
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/659bbb9d253a924a3a4724d3cbdeb58483362403a8e340e316a2ed3096c83795/angular/angular/issues/34544
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/platform-server Is this a regression? Yes, the previous version in which this bug was not present was: @angular/platform-server...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenaveedahmed1
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/34544#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34544
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F34544
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/34544
Reloadhttps://github.com/angular/angular/issues/34544
Reloadhttps://github.com/angular/angular/issues/34544
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34544
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/34544
platform-server errors with ivy-ngcc - UMD module - Angular 9.0.0-rc.7https://github.com/angular/angular/issues/34544#top
https://github.com/gkalpak
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
v9-blockershttps://github.com/angular/angular/milestone/98
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issue-541795169
Nexthttps://github.com/angular/angular/issues/34544?timeline_page=1
AndrewKushnirhttps://github.com/AndrewKushnir
comp: ngcchttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20ngcc%22
on Dec 23, 2019https://github.com/angular/angular/issues/34544#event-2905355124
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Dec 23, 2019https://github.com/angular/angular/issues/34544#event-2905355155
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issuecomment-568550980
@petebacondarwinhttps://github.com/petebacondarwin
@karahttps://github.com/kara
#31069https://github.com/angular/angular/issues/31069
gkalpakhttps://github.com/gkalpak
on Dec 23, 2019https://github.com/angular/angular/issues/34544#event-2905527172
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issuecomment-568577236
@naveedahmed1https://github.com/naveedahmed1
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issuecomment-568584032
@gkalpakhttps://github.com/gkalpak
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issuecomment-568602831
@naveedahmed1https://github.com/naveedahmed1
url modulehttps://nodejs.org/api/url.html
herehttps://github.com/angular/angular/blob/9b9116c79/packages/platform-server/src/location.ts#L12
url packagehttps://www.npmjs.com/package/url
url packagehttps://www.npmjs.com/package/url
punycode packagehttps://www.npmjs.com/package/punycode
main filehttps://unpkg.com/browse/punycode@1.3.2/punycode.js
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Dec 23, 2019https://github.com/angular/angular/issues/34544#issuecomment-568604106
@gkalpakhttps://github.com/gkalpak
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Dec 24, 2019https://github.com/angular/angular/issues/34544#issuecomment-568666924
https://github.com/angular/angular/blob/master/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts#L149https://github.com/angular/angular/blob/master/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.ts#L149
https://github.com/tayambamwanza
tayambamwanzahttps://github.com/tayambamwanza
on Dec 27, 2019https://github.com/angular/angular/issues/34544#issuecomment-569275088
gkalpakhttps://github.com/gkalpak
needsTriagehttps://github.com/angular/angular/milestone/83
v9-candidateshttps://github.com/angular/angular/milestone/89
on Dec 29, 2019https://github.com/angular/angular/issues/34544#event-2912530497
https://github.com/Gbuomprisco
Gbuompriscohttps://github.com/Gbuomprisco
on Jan 3, 2020https://github.com/angular/angular/issues/34544#issuecomment-570410989
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Jan 3, 2020https://github.com/angular/angular/issues/34544#issuecomment-570629499
#34356https://github.com/angular/angular/pull/34356
84a7d8ahttps://github.com/angular/angular/commit/84a7d8a
c26738dhttps://github.com/angular/angular/commit/c26738d
alxhubhttps://github.com/alxhub
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
on Jan 7, 2020https://github.com/angular/angular/issues/34544#event-2929404917
gkalpakhttps://github.com/gkalpak
on Jan 18, 2020https://github.com/angular/angular/issues/34544#event-2960406151
fix(ngcc): do not collect private declarations from external packageshttps://github.com/gkalpak/angular/commit/8e53a2b034969633147f75b73c8352b066668f50
8e53a2bhttps://github.com/gkalpak/angular/commit/8e53a2b034969633147f75b73c8352b066668f50
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Jan 20, 2020https://github.com/angular/angular/issues/34544#issuecomment-576317648
@Gbuompriscohttps://github.com/Gbuomprisco
@gkalpakhttps://github.com/gkalpak
gkalpak@8e53a2bhttps://github.com/gkalpak/angular/commit/8e53a2b034969633147f75b73c8352b066668f50
JoostKhttps://github.com/JoostK
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
on Jan 21, 2020https://github.com/angular/angular/issues/34544#event-2965348044
https://github.com/fergalmoran
fergalmoranhttps://github.com/fergalmoran
on Jan 22, 2020https://github.com/angular/angular/issues/34544#issuecomment-577400654
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jan 22, 2020https://github.com/angular/angular/issues/34544#issuecomment-577408486
#34811https://github.com/angular/angular/pull/34811
AndrewKushnirhttps://github.com/AndrewKushnir
on Jan 23, 2020https://github.com/angular/angular/issues/34544#event-2975429909
fix(ngcc): do not collect private declarations from external packages (…https://github.com/angular/angular/commit/c80392bcd2915ee4238bd60dbb5af9064a310e19
…https://github.com/angular/angular/pull/34811
c80392bhttps://github.com/angular/angular/commit/c80392bcd2915ee4238bd60dbb5af9064a310e19
AndrewKushnirhttps://github.com/AndrewKushnir
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
5b42084https://github.com/angular/angular/commit/5b42084912f6bc8bdc419b0893fe3e25351719dc
on Jan 23, 2020https://github.com/angular/angular/issues/34544#event-2975430061
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Jan 27, 2020https://github.com/angular/angular/issues/34544#issuecomment-578941571
@AndrewKushnirhttps://github.com/AndrewKushnir
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jan 27, 2020https://github.com/angular/angular/issues/34544#issuecomment-578946400
https://github.com/naveedahmed1
naveedahmed1https://github.com/naveedahmed1
on Jan 27, 2020https://github.com/angular/angular/issues/34544#issuecomment-578947347
@gkalpakhttps://github.com/gkalpak
karahttps://github.com/kara
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
severity5: ivy-compathttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity5%3A%20ivy-compat%22
on Feb 11, 2020https://github.com/angular/angular/issues/34544#event-3024841552
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 13, 2020https://github.com/angular/angular/issues/34544#issuecomment-598798728
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 13, 2020https://github.com/angular/angular/issues/34544#event-3127335125
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/34544
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/34544
gkalpakhttps://github.com/gkalpak
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
v9-blockershttps://github.com/angular/angular/milestone/98
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.