René's URL Explorer Experiment


Title: Universal server bundle is not working properly · Issue #7200 · angular/angular-cli · GitHub

Open Graph Title: Universal server bundle is not working properly · Issue #7200 · angular/angular-cli

X Title: Universal server bundle is not working properly · Issue #7200 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.3.0-rc.1 node: 6.10.3 os: darwin x64 Repro steps. Follow these steps here: https://...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.3.0-rc.1 node: 6.10.3 os: darwin x64 Repro ...

X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.3.0-rc.1 node: 6.10.3 os: darwin x64 Rep...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Universal server bundle is not working properly","articleBody":"### 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@angular/cli: 1.3.0-rc.1\r\nnode: 6.10.3\r\nos: darwin x64\r\n\r\n\r\n### Repro steps.\r\n\r\nFollow these steps here:\r\n\r\nhttps://github.com/angular/angular-cli/wiki/stories-universal-rendering\r\n\r\nAdd https://github.com/ngx-translate/core to the app.\r\n\r\nBuild a server bundle.\r\n\r\nTest it and you will see the error below.\r\n\r\n### The log given by the failure.\r\n\r\n```\r\n\u003csome-excluded-path>/ng-boilerplate/node_modules/@ngx-translate/core/src/translate.store.js:1\r\n(function (exports, require, module, __filename, __dirname) { import { EventEmitter } from \"@angular/core\";\r\n                                                              ^^^^^^\r\nSyntaxError: Unexpected token import\r\n    at createScript (vm.js:56:10)\r\n    at Object.runInThisContext (vm.js:97:10)\r\n    at Module._compile (module.js:542:28)\r\n    at Object.Module._extensions..js (module.js:579:10)\r\n    at Module.load (module.js:487:32)\r\n    at tryModuleLoad (module.js:446:12)\r\n    at Function.Module._load (module.js:438:3)\r\n    at Module.require (module.js:497:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.17 (\u003csome-excluded-path>/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:6560)\r\n    at e (\u003csome-excluded-path>/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:149)\r\n    at Object.2cGb (\u003csome-excluded-path>/chrillewoodz/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:7952)\r\n    at e (\u003csome-excluded-path>/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:149)\r\n    at Object.Zq8w (\u003csome-excluded-path>/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:28947)\r\n    at e (\u003csome-excluded-path>/ng-boilerplate/dist-server/main.75d7fa7aeab5f9b24f61.bundle.js:1:149)\r\n```\r\n\r\n\r\n### Desired functionality.\r\nBasically the issue here is that node is resolving the wrong module. It's looking inside of the `node_modules` folder instead of in the `vendor` file in the server bundle.\r\n\r\n### Mention any other details that might be useful.\r\n\r\nYou can download a project with these steps already done:\r\n\r\nhttps://github.com/chrillewoodz/ng-boilerplate/tree/universal\r\n\r\nSo simply run `npm run universal` and you will see the error.\r\n\r\n","author":{"url":"https://github.com/chrillewoodz","@type":"Person","name":"chrillewoodz"},"datePublished":"2017-07-29T11:55:40Z","url":"https://github.com/angular/angular-cli/issues/7200"}

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:dba233d8-b73f-27f6-9c55-8eb9eb3de4d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAA52:2DA781:BB26BC:107BA1E:6AFE2C97
html-safe-nonce7c6d6c9d42c111e878784244c675df50c474c537ded33a32d149423b8a53c8dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTUyOjJEQTc4MTpCQjI2QkM6MTA3QkExRTo2QUZFMkM5NyIsInZpc2l0b3JfaWQiOiIzOTk0MjA5OTQwODU0OTQyODcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2b628bdf52a760c7b2ecbfa28d1a34d5e0d49acdcfddc3b218f804299b20f346
hovercard-subject-tagissue:246517452
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/7200/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d5f40153ddca55102adae128cafa7611177cf33ed73804243d480d883415aa43/angular/angular-cli/issues/7200
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d5f40153ddca55102adae128cafa7611177cf33ed73804243d480d883415aa43/angular/angular-cli/issues/7200
og:image:altBug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.3.0-rc.1 node: 6.10.3 os: darwin x64 Repro ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechrillewoodz
hostnamegithub.com
expected-hostnamegithub.com
Nonee973f9ec3625f3faad8cac5c2d11a214b7ffe45f3cc563b828459b290ecaeed3
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
release1f92c367595b9190e0be293896078033886b1913
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/7200#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F7200
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%2F7200
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/7200
Reloadhttps://github.com/angular/angular-cli/issues/7200
Reloadhttps://github.com/angular/angular-cli/issues/7200
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues196 (196)https://github.com/angular/angular-cli/issues
Pull requests20 (20)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/7200
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/7200
Universal server bundle is not working properlyhttps://github.com/angular/angular-cli/issues/7200#top
https://github.com/alan-agius4
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
needs: investigationRequires some digging to determine if action is neededhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular-cli/milestone/12
https://github.com/chrillewoodz
chrillewoodzhttps://github.com/chrillewoodz
on Jul 29, 2017https://github.com/angular/angular-cli/issues/7200#issue-246517452
https://github.com/angular/angular-cli/wiki/stories-universal-renderinghttps://github.com/angular/angular-cli/wiki/stories-universal-rendering
https://github.com/ngx-translate/corehttps://github.com/ngx-translate/core
https://github.com/chrillewoodz/ng-boilerplate/tree/universalhttps://github.com/chrillewoodz/ng-boilerplate/tree/universal
Nexthttps://github.com/angular/angular-cli/issues/7200?timeline_page=1
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Jul 31, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-318991716
filipesilvahttps://github.com/filipesilva
hanslhttps://github.com/hansl
on Jul 31, 2017https://github.com/angular/angular-cli/issues/7200#event-1185687360
filipesilvahttps://github.com/filipesilva
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
feature: universalhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%3A%20universal%22
needs: investigationRequires some digging to determine if action is neededhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Jul 31, 2017https://github.com/angular/angular-cli/issues/7200#event-1185687609
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Jul 31, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319057018
@FrozenPandazhttps://github.com/FrozenPandaz
@alxhubhttps://github.com/alxhub
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Jul 31, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319089931
https://github.com/donoso-eth
donoso-ethhttps://github.com/donoso-eth
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319742069
@chrillewoodzhttps://github.com/chrillewoodz
https://github.com/angular/angular-cli/wiki/stories-universal-renderinghttps://github.com/angular/angular-cli/wiki/stories-universal-rendering
https://github.com/joejordanbrown
joejordanbrownhttps://github.com/joejordanbrown
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319767631
@chrillewoodzhttps://github.com/chrillewoodz
wikihttps://github.com/angular/angular-cli/wiki/stories-universal-rendering
https://github.com/chrillewoodz
chrillewoodzhttps://github.com/chrillewoodz
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319774005
https://github.com/chrillewoodz
chrillewoodzhttps://github.com/chrillewoodz
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319777351
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319784576
blog posthttps://medium.com/@cyrilletuzi/angular-server-side-rendering-in-node-with-express-universal-engine-dce21933ddce
https://github.com/chrillewoodz
chrillewoodzhttps://github.com/chrillewoodz
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319786045
@cyrilletuzihttps://github.com/cyrilletuzi
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Aug 2, 2017https://github.com/angular/angular-cli/issues/7200#issuecomment-319791859
https://github.com/miikkikiikki
miikkikiikkihttps://github.com/miikkikiikki
on Nov 4, 2018https://github.com/angular/angular-cli/issues/7200#issuecomment-435631678
https://github.com/danieldanielecki
danieldanieleckihttps://github.com/danieldanielecki
on Jul 3, 2019https://github.com/angular/angular-cli/issues/7200#issuecomment-508117527
herehttps://gist.github.com/kkaabbaa/a308b218938ae55357f73c162e887bd5
filipesilvahttps://github.com/filipesilva
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
on Oct 1, 2019https://github.com/angular/angular-cli/issues/7200#event-2677607043
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on Oct 1, 2019https://github.com/angular/angular-cli/issues/7200#event-2677607072
filipesilvahttps://github.com/filipesilva
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
on Oct 1, 2019https://github.com/angular/angular-cli/issues/7200#event-2677607590
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
Backloghttps://github.com/angular/angular-cli/milestone/12
on Oct 1, 2019https://github.com/angular/angular-cli/issues/7200#event-2677607629
alan-agius4https://github.com/alan-agius4
on Oct 2, 2019https://github.com/angular/angular-cli/issues/7200#event-2681644487
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Oct 3, 2019https://github.com/angular/angular-cli/issues/7200#issuecomment-538032226
https://github.com/angular/universal/blob/master/docs/v8-upgrade-guide.mdhttps://github.com/angular/universal/blob/master/docs/v8-upgrade-guide.md
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 3, 2019https://github.com/angular/angular-cli/issues/7200#event-2684765968
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 3, 2019https://github.com/angular/angular-cli/issues/7200#issuecomment-549113918
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 Nov 3, 2019https://github.com/angular/angular-cli/issues/7200#event-2765800605
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/7200
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/7200
alan-agius4https://github.com/alan-agius4
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
needs: investigationRequires some digging to determine if action is neededhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20investigation%22
severity3: brokenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular-cli/milestone/12
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.