René's URL Explorer Experiment


Title: Wiki: stories universal rendering: Cannot find name 'AppServerModuleNgFactory' not 'LAZY_MODULE_MAP' · Issue #13385 · angular/angular-cli · GitHub

Open Graph Title: Wiki: stories universal rendering: Cannot find name 'AppServerModuleNgFactory' not 'LAZY_MODULE_MAP' · Issue #13385 · angular/angular-cli

X Title: Wiki: stories universal rendering: Cannot find name 'AppServerModuleNgFactory' not 'LAZY_MODULE_MAP' · Issue #13385 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions v8.11.3 6.5.0 _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | ...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions v8.11.3 6.5.0 _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __...

X Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions v8.11.3 6.5.0 _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _...

Opengraph URL: https://github.com/angular/angular-cli/issues/13385

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wiki: stories universal rendering: Cannot find name 'AppServerModuleNgFactory' not 'LAZY_MODULE_MAP'","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x ] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions\r\n\u003c!--\r\nOutput from: `node --version`, `npm --version` and `ng --version`.\r\n  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra? High Sierra?)\r\n-->\r\n```\r\nv8.11.3\r\n6.5.0\r\n\r\n     _                      _                 ____ _     ___\r\n    / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n   / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n  / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n /_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n                |___/\r\n    \r\n\r\nAngular CLI: 6.1.5\r\nNode: 8.11.3\r\nOS: linux x64\r\nAngular: 6.1.9\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.7.5\r\n@angular-devkit/build-angular     0.7.5\r\n@angular-devkit/build-optimizer   0.7.5\r\n@angular-devkit/build-webpack     0.7.5\r\n@angular-devkit/core              0.7.5\r\n@angular-devkit/schematics        0.7.5\r\n@angular/cli                      6.1.5\r\n@angular/platform-server          6.1.10\r\n@ngtools/webpack                  6.1.5\r\n@schematics/angular               0.7.5\r\n@schematics/update                0.7.5\r\nrxjs                              6.3.3\r\ntypescript                        2.7.2\r\nwebpack                           4.9.2\r\n```\r\nRunning on Ubuntu 18.04\r\n\r\n### Repro steps\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run (incl args), packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n1. Follow [the universal story](https://github.com/angular/angular-cli/wiki/stories-universal-rendering), up to and including step 4.\r\n2. Try step 5.\r\n\r\n### The log given by the failure\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n```\r\ncoo@thor:~/dev/www/cirque/cirque-library$ npm run build:ssr\r\n\r\n> cirquel-library@0.0.0 build:ssr /home/coo/dev/www/cirque/cirque-library\r\n> npm run build:client-and-server-bundles && npm run webpack:server\r\n\r\n\r\n> cirquel-library@0.0.0 build:client-and-server-bundles /home/coo/dev/www/cirque/cirque-library\r\n> ng build --prod && ng run cirquel-library:server\r\n\r\n\r\nDate: 2019-01-09T07:07:33.323Z\r\nHash: 0e3c6ba12126ad16a590\r\nTime: 12638ms\r\nchunk {scripts} scripts.8af9600ce405f4ee8475.js (scripts) 212 kB  [rendered]\r\nchunk {0} runtime.a66f828dca56eeb90e02.js (runtime) 1.05 kB [entry] [rendered]\r\nchunk {1} styles.1c9db16de07904d7c9fe.css (styles) 131 kB [initial] [rendered]\r\nchunk {2} polyfills.2f4a59095805af02bd79.js (polyfills) 59.6 kB [initial] [rendered]\r\nchunk {3} main.24795b6742be479dce8d.js (main) 581 kB [initial] [rendered]\r\n\r\nDate: 2019-01-09T07:07:40.182Z\r\nHash: 530691710610f1f8f121\r\nTime: 5232ms\r\nchunk {main} main.js, main.js.map (main) 164 kB [entry] [rendered]\r\n\r\n> cirquel-library@0.0.0 webpack:server /home/coo/dev/www/cirque/cirque-library\r\n> webpack --config webpack.server.config.js --progress --colors\r\n\r\nHash: 9950f741fdbec97b20ee\r\nVersion: webpack 4.9.2\r\nTime: 5035ms\r\nBuilt at: 2019-01-09 14:07:45\r\n    Asset      Size  Chunks             Chunk Names\r\nserver.js  4.74 MiB       0  [emitted]  server\r\nEntrypoint server = server.js\r\n  [0] ./server.ts 1.66 KiB {0} [built] [2 errors]\r\n  [2] external \"events\" 42 bytes {0} [built]\r\n  [3] external \"fs\" 42 bytes {0} [built]\r\n  [4] external \"timers\" 42 bytes {0} [optional] [built]\r\n  [5] external \"crypto\" 42 bytes {0} [built]\r\n[211] ./src lazy namespace object 160 bytes {0} [built]\r\n[214] external \"url\" 42 bytes {0} [built]\r\n[274] external \"http\" 42 bytes {0} [built]\r\n[275] external \"https\" 42 bytes {0} [built]\r\n[276] external \"os\" 42 bytes {0} [built]\r\n[284] external \"path\" 42 bytes {0} [built]\r\n[293] external \"util\" 42 bytes {0} [built]\r\n[301] external \"net\" 42 bytes {0} [built]\r\n[306] external \"buffer\" 42 bytes {0} [built]\r\n[363] ./src sync 160 bytes {0} [built]\r\n    + 376 hidden modules\r\n\r\nERROR in /home/coo/dev/www/cirque/cirque-library/server.ts\r\n./server.ts\r\n[tsl] ERROR in /home/coo/dev/www/cirque/cirque-library/server.ts(28,23)\r\n      TS2304: Cannot find name 'AppServerModuleNgFactory'.\r\n\r\nERROR in /home/coo/dev/www/cirque/cirque-library/server.ts\r\n./server.ts\r\n[tsl] ERROR in /home/coo/dev/www/cirque/cirque-library/server.ts(34,24)\r\n      TS2304: Cannot find name 'LAZY_MODULE_MAP'.\r\n\r\nERROR in /home/coo/dev/www/cirque/cirque-library/src/app/bg-image.directive.spec.ts\r\n[tsl] ERROR in /home/coo/dev/www/cirque/cirque-library/src/app/bg-image.directive.spec.ts(5,23)\r\n      TS2554: Expected 1 arguments, but got 0.\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 2\r\nnpm ERR! cirquel-library@0.0.0 webpack:server: `webpack --config webpack.server.config.js --progress --colors`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the cirquel-library@0.0.0 webpack:server script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/coo/.npm/_logs/2019-01-09T07_07_45_824Z-debug.log\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 2\r\nnpm ERR! cirquel-library@0.0.0 build:ssr: `npm run build:client-and-server-bundles && npm run webpack:server`\r\nnpm ERR! Exit status 2\r\nnpm ERR!\r\nnpm ERR! Failed at the cirquel-library@0.0.0 build:ssr script.\r\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR!     /home/coo/.npm/_logs/2019-01-09T07_07_45_835Z-debug.log\r\n```\r\n\r\n### Desired functionality\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\n\r\nThe references in the suggested `server.ts` file as described in the wiki, [step 4](https://github.com/angular/angular-cli/wiki/stories-universal-rendering#serverts-root-project-level) should be correct. The modules `AppServerModuleNgFactory` and `LAZY_MODULE_MAP` have no import, so the TS compiler fails.\r\n\r\n\r\n### Mention any other details that might be useful\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\nVscode already complains in the editor that these 2 names cannot be found. And when running the sugggested commands, the ng cli also concludes these names are unknown.\r\n\r\n(I've tried finding the correct references somewhere, but apparently I don't have the know-how to fix this.)","author":{"url":"https://github.com/c00","@type":"Person","name":"c00"},"datePublished":"2019-01-09T07:28:28Z","url":"https://github.com/angular/angular-cli/issues/13385"}

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:29efb523-c4ba-7ef8-c644-b87f5bf082b5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD238:4BB79:15C2DAF:1BBEFE4:6B01371C
html-safe-nonceb7d239713269a261b1e3e0d45fd89251153e293b8b71c8adb0136cf903cf9a4a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjM4OjRCQjc5OjE1QzJEQUY6MUJCRUZFNDo2QjAxMzcxQyIsInZpc2l0b3JfaWQiOiI1MjMyMzA0NjE1NDkxNDUwNjUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac13fb59ac21f7db9bf7138bdef457b4da8f214ba2c73a401dd051b110ef109697
hovercard-subject-tagissue:397244053
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-cli/13385/issue_layout
twitter:imagehttps://opengraph.githubassets.com/90b1ecde7a240f20ae33f215fd49fdf9eab1f3620db3b064da916af2b8ba458c/angular/angular-cli/issues/13385
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90b1ecde7a240f20ae33f215fd49fdf9eab1f3620db3b064da916af2b8ba458c/angular/angular-cli/issues/13385
og:image:altBug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions v8.11.3 6.5.0 _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamec00
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
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-cli/issues/13385#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F13385
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-cli%2Fissues%2F13385
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-cli
Reloadhttps://github.com/angular/angular-cli/issues/13385
Reloadhttps://github.com/angular/angular-cli/issues/13385
Reloadhttps://github.com/angular/angular-cli/issues/13385
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/13385
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/13385
Wiki: stories universal rendering: Cannot find name 'AppServerModuleNgFactory' not 'LAZY_MODULE_MAP'https://github.com/angular/angular-cli/issues/13385#top
https://github.com/c00
c00https://github.com/c00
on Jan 9, 2019https://github.com/angular/angular-cli/issues/13385#issue-397244053
the universal storyhttps://github.com/angular/angular-cli/wiki/stories-universal-rendering
step 4https://github.com/angular/angular-cli/wiki/stories-universal-rendering#serverts-root-project-level
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jan 9, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-452642522
https://angular.io/guide/universalhttps://angular.io/guide/universal
angular/angular#26444https://github.com/angular/angular/pull/26444
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 9, 2019https://github.com/angular/angular-cli/issues/13385#event-2062647510
https://github.com/albanx
albanxhttps://github.com/albanx
on Feb 15, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-464244953
https://github.com/c00
c00https://github.com/c00
on Feb 16, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-464290547
starter repohttps://github.com/angular/universal-starter
https://github.com/albanx
albanxhttps://github.com/albanx
on Feb 16, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-464336165
@c00https://github.com/c00
https://developers.google.com/web/tools/puppeteer/articles/ssrhttps://developers.google.com/web/tools/puppeteer/articles/ssr
https://github.com/c00
c00https://github.com/c00
on Feb 17, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-464473573
https://github.com/albanx
albanxhttps://github.com/albanx
on Feb 17, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-464509000
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/13385#issuecomment-529360879
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 Sep 9, 2019https://github.com/angular/angular-cli/issues/13385#event-2617851967
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/13385
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/13385
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.