René's URL Explorer Experiment


Title: require in sidenav's compiled module is pulling in .ts files · Issue #189 · angular/components · GitHub

Open Graph Title: require in sidenav's compiled module is pulling in .ts files · Issue #189 · angular/components

X Title: require in sidenav's compiled module is pulling in .ts files · Issue #189 · angular/components

Description: Using alpha.1 with webpack you might run into this kind of error: ERROR in ./~/@angular2-material/core/annotations/one-of.ts Module parse failed: /opt/senergy/iris-app/node_modules/@angular2-material/core/annotations/one-of.ts Line 1: Un...

Open Graph Description: Using alpha.1 with webpack you might run into this kind of error: ERROR in ./~/@angular2-material/core/annotations/one-of.ts Module parse failed: /opt/senergy/iris-app/node_modules/@angular2-materi...

X Description: Using alpha.1 with webpack you might run into this kind of error: ERROR in ./~/@angular2-material/core/annotations/one-of.ts Module parse failed: /opt/senergy/iris-app/node_modules/@angular2-materi...

Mail addresses
notifications@github.com
notifications@github.com
notifications@github.com

Opengraph URL: https://github.com/angular/components/issues/189

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"require in sidenav's compiled module is pulling in .ts files","articleBody":"Using `alpha.1` with `webpack` you might run into this kind of error:\n\n```\nERROR in ./~/@angular2-material/core/annotations/one-of.ts\nModule parse failed: /opt/senergy/iris-app/node_modules/@angular2-material/core/annotations/one-of.ts Line 1: Unexpected token\nYou may need an appropriate loader to handle this file type.\n| import {isPresent} from 'angular2/src/facade/lang';\n| \n| \n@ ./~/@angular2-material/sidenav/sidenav.js 24:15-52\n\nERROR in ./~/@angular2-material/core/rtl/dir.ts\nModule parse failed: /opt/senergy/iris-app/node_modules/@angular2-material/core/rtl/dir.ts Line 1: Unexpected token\nYou may need an appropriate loader to handle this file type.\n| import {EventEmitter} from 'angular2/src/facade/async';\n| import {Directive, HostBinding, Output, Input} from 'angular2/core';\n| import {OneOf} from '../annotations/one-of';\n @ ./~/@angular2-material/sidenav/sidenav.js 23:12-38\n```\n\nThe cause is that the compiled `sidnav.js` and `dir.js` tries to require the ts files instead of the compiled js ones. \n\n**Workaround**\nOpen `dir.js` and locate the line\n\n```\nvar one_of_1 = require('../annotations/one-of');\n```\n\n(around line 12) and add the js extension to the req'd module, so it should look like this\n\n```\nvar one_of_1 = require('../annotations/one-of.js');\n```\n\nDo the same in `sidenav.js`, i.e. make sure you have something like this around line 23-24\n\n```\nvar dir_1 = require('../core/rtl/dir.js');\nvar one_of_1 = require('../core/annotations/one-of.js');\n```\n","author":{"url":"https://github.com/aberenyi","@type":"Person","name":"aberenyi"},"datePublished":"2016-03-17T09:23:25Z","url":"https://github.com/angular/components/issues/189"}

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:8c7d65ea-393f-4332-0afb-b276a0445151
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id840C:4BB79:A9213D:D95C96:6B00F6E2
html-safe-nonce35b86139e25c2cee5c46ecdf67805805d8ba784e919143900019e0626f30c938
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDBDOjRCQjc5OkE5MjEzRDpEOTVDOTY6NkIwMEY2RTIiLCJ2aXNpdG9yX2lkIjoiMjMyNjI5ODYwNDUwNDkzODIxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac939e20b823b3d25ca534bd5100d501e89bc7331b71911dab252caa871038fb80
hovercard-subject-tagissue:141526408
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/components/189/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6bc66f324d58946165b4a87a3ee446dda3d1b732e0a77b555370625093b490cc/angular/components/issues/189
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6bc66f324d58946165b4a87a3ee446dda3d1b732e0a77b555370625093b490cc/angular/components/issues/189
og:image:altUsing alpha.1 with webpack you might run into this kind of error: ERROR in ./~/@angular2-material/core/annotations/one-of.ts Module parse failed: /opt/senergy/iris-app/node_modules/@angular2-materi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaberenyi
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/angular/components git https://github.com/angular/components.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id49016322
octolytics-dimension-repository_nwoangular/components
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49016322
octolytics-dimension-repository_network_root_nwoangular/components
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/components/issues/189#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fcomponents%2Fissues%2F189
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%2Fcomponents%2Fissues%2F189
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%2Fcomponents
Reloadhttps://github.com/angular/components/issues/189
Reloadhttps://github.com/angular/components/issues/189
Reloadhttps://github.com/angular/components/issues/189
angularhttps://github.com/angular
componentshttps://github.com/angular/components
Codehttps://github.com/angular/components
Issues1.2k (1.2k)https://github.com/angular/components/issues
Pull requests215 (215)https://github.com/angular/components/pulls
Discussionshttps://github.com/angular/components/discussions
Actionshttps://github.com/angular/components/actions
Projectshttps://github.com/angular/components/projects
Wikihttps://github.com/angular/components/wiki
Security and qualityhttps://github.com/angular/components/security
Insightshttps://github.com/angular/components/insights
https://github.com/angular/components
New issuehttps://github.com/login?return_to=https://github.com/angular/components/issues/189
New issuehttps://github.com/login?return_to=https://github.com/angular/components/issues/189
require in sidenav's compiled module is pulling in .ts fileshttps://github.com/angular/components/issues/189#top
https://github.com/jelbourn
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/components/issues?q=state%3Aopen%20label%3A%22P2%22
alpha.2https://github.com/angular/components/milestone/3
https://github.com/aberenyi
aberenyihttps://github.com/aberenyi
on Mar 17, 2016https://github.com/angular/components/issues/189#issue-141526408
https://github.com/jelbourn
jelbournhttps://github.com/jelbourn
on Mar 17, 2016https://github.com/angular/components/issues/189#issuecomment-197978315
@robwormaldhttps://github.com/robwormald
jelbournhttps://github.com/jelbourn
alpha.2https://github.com/angular/components/milestone/3
on Mar 17, 2016https://github.com/angular/components/issues/189#event-593738813
jelbournhttps://github.com/jelbourn
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/components/issues?q=state%3Aopen%20label%3A%22P2%22
on Mar 17, 2016https://github.com/angular/components/issues/189#event-593739123
https://github.com/robwormald
robwormaldhttps://github.com/robwormald
on Mar 17, 2016https://github.com/angular/components/issues/189#issuecomment-198103096
@jelbournhttps://github.com/jelbourn
https://github.com/angular/material2/blob/master/src/components/sidenav/sidenav.ts#L21-L22https://github.com/angular/material2/blob/master/src/components/sidenav/sidenav.ts#L21-L22
jelbournhttps://github.com/jelbourn
on Mar 17, 2016https://github.com/angular/components/issues/189#event-594127031
https://github.com/jelbourn
jelbournhttps://github.com/jelbourn
on Mar 17, 2016https://github.com/angular/components/issues/189#issuecomment-198103921
@hanslhttps://github.com/hansl
https://github.com/robwormald
robwormaldhttps://github.com/robwormald
on Mar 17, 2016https://github.com/angular/components/issues/189#issuecomment-198114113
https://gist.github.com/robwormald/fa0ad1bd89c098500693https://gist.github.com/robwormald/fa0ad1bd89c098500693
https://github.com/jelbourn
jelbournhttps://github.com/jelbourn
on Mar 18, 2016https://github.com/angular/components/issues/189#issuecomment-198166558
https://github.com/robwormald
robwormaldhttps://github.com/robwormald
on Mar 18, 2016https://github.com/angular/components/issues/189#issuecomment-198182480
@alexeaglehttps://github.com/alexeagle
#189 (comment)https://github.com/angular/components/issues/189#issuecomment-198166558
https://github.com/alexeagle
alexeaglehttps://github.com/alexeagle
on Mar 18, 2016https://github.com/angular/components/issues/189#issuecomment-198478754
@alexeaglehttps://github.com/alexeagle
#189 (comment)https://github.com/angular/components/issues/189#issuecomment-198166558
#189 (comment)https://github.com/angular/components/issues/189#issuecomment-198182480
jelbournhttps://github.com/jelbourn
completedhttps://github.com/angular/components/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
0082a39https://github.com/angular/components/commit/0082a3986685f8cc0287cc8c20f8e0d090419815
on Apr 6, 2016https://github.com/angular/components/issues/189#event-617428556
andrewseguinhttps://github.com/andrewseguin
on Oct 15, 2018https://github.com/angular/components/issues/189#event-1905317218
feat(docs): add page titles to doc pages angular#189 (angular#220)https://github.com/andrewseguin/components/commit/ec7c637957d3644cb71ce063e81122a98675544c
angular#189https://github.com/angular/components/issues/189
angular#220https://github.com/angular/components/pull/220
ec7c637https://github.com/andrewseguin/components/commit/ec7c637957d3644cb71ce063e81122a98675544c
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 4, 2019https://github.com/angular/components/issues/189#issuecomment-528062225
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 4, 2019https://github.com/angular/components/issues/189#event-2608292574
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/components/issues/189
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/components/issues/189
jelbournhttps://github.com/jelbourn
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/components/issues?q=state%3Aopen%20label%3A%22P2%22
alpha.2https://github.com/angular/components/milestone/3
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.