René's URL Explorer Experiment


Title: `ng build` chokes on processing Angular source maps · Issue #5476 · angular/angular-cli · GitHub

Open Graph Title: `ng build` chokes on processing Angular source maps · Issue #5476 · angular/angular-cli

X Title: `ng build` chokes on processing Angular source maps · Issue #5476 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) bug report -> please search issues before submitting Versions. @angular/cli: 1.0.0-rc.2 node: 6.9.5 os: darwin x64 @angular/animations: 4.0.0-rc.4 @angular/common: 4.0.0-rc.4 @angular/compil...

Open Graph Description: Bug Report or Feature Request (mark with an x) bug report -> please search issues before submitting Versions. @angular/cli: 1.0.0-rc.2 node: 6.9.5 os: darwin x64 @angular/animations: 4.0.0-rc.4 @an...

X Description: Bug Report or Feature Request (mark with an x) bug report -> please search issues before submitting Versions. @angular/cli: 1.0.0-rc.2 node: 6.9.5 os: darwin x64 @angular/animations: 4.0.0-rc.4 ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ng build` chokes on processing Angular source maps","articleBody":"### Bug Report or Feature Request (mark with an `x`)\r\n- [X] bug report -> please search issues before submitting\r\n\r\n\r\n### Versions.\r\n```\r\n@angular/cli: 1.0.0-rc.2\r\nnode: 6.9.5\r\nos: darwin x64\r\n@angular/animations: 4.0.0-rc.4\r\n@angular/common: 4.0.0-rc.4\r\n@angular/compiler: 4.0.0-rc.4\r\n@angular/core: 4.0.0-rc.4\r\n@angular/forms: 4.0.0-rc.4\r\n@angular/http: 4.0.0-rc.4\r\n@angular/material: 2.0.0-beta.2\r\n@angular/platform-browser: 4.0.0-rc.4\r\n@angular/platform-browser-dynamic: 4.0.0-rc.4\r\n@angular/platform-server: 4.0.0-rc.4\r\n@angular/router: 4.0.0-rc.4\r\n@angular/service-worker: 1.0.0-beta.7\r\n@angular/cli: 1.0.0-rc.2\r\n@angular/compiler-cli: 4.0.0-rc.2\r\n```\r\n\r\n\r\n### Repro steps.\r\n1. upgrade a project to angular 4.0.0-rc.4\r\n2. modify `node_modules/@angular/cli//models/webpack-configs/common.js\r\n` to no exclude `node_modules` from the `source-map-loader`\r\n3. build the project with `ng build` or `ng build --prod --sm`\r\n\r\n### The log given by the failure.\r\n```\r\n$ ng build --prod --sm\r\n 92% chunk asset optimization/Users/iminar/Dev/angular/aio/node_modules/source-map/lib/source-node.js:95\r\n          var code = nextLine.substr(0, mapping.generatedColumn -\r\n                             ^\r\n\r\nTypeError: Cannot read property 'substr' of undefined\r\n    at Function.\u003canonymous> (/Users/iminar/Dev/angular/aio/node_modules/source-map/lib/source-node.js:95:30)\r\n    at Array.forEach (native)\r\n    at SourceMapConsumer_eachMapping [as eachMapping] (/Users/iminar/Dev/angular/aio/node_modules/source-map/lib/source-map-consumer.js:155:14)\r\n    at Function.SourceNode_fromStringWithSourceMap [as fromStringWithSourceMap] (/Users/iminar/Dev/angular/aio/node_modules/source-map/lib/source-node.js:80:24)\r\n    at SourceMapSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/SourceMapSource.js:42:20)\r\n    at ReplaceSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ReplaceSource.js:69:29)\r\n    at CachedSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/CachedSource.js:12:23)\r\n    at /Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:40:49\r\n    at Array.map (native)\r\n    at ConcatSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:39:60)\r\n    at /Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:40:49\r\n    at Array.map (native)\r\n    at ConcatSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:39:60)\r\n    at /Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:40:49\r\n    at Array.map (native)\r\n    at ConcatSource.node (/Users/iminar/Dev/angular/aio/node_modules/webpack-sources/lib/ConcatSource.js:39:60)\r\n```\r\n\r\n\r\n### Desired functionality.\r\nshould build 😄 \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\n\r\n","author":{"url":"https://github.com/IgorMinar","@type":"Person","name":"IgorMinar"},"datePublished":"2017-03-17T15:25:41Z","url":"https://github.com/angular/angular-cli/issues/5476"}

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:4cf8837f-65e2-9f48-9b77-10aa20113f41
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDDBE:187C1E:F33268:1421E16:6B01D76B
html-safe-nonce67e2e5772214f1dedd3c52b87b6452d5954377872bb14551ba3a39e18f8e5266
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREJFOjE4N0MxRTpGMzMyNjg6MTQyMUUxNjo2QjAxRDc2QiIsInZpc2l0b3JfaWQiOiI0MjQ3NDk2MzEyNzYyNzgzNTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac016a7abf570953d9083f05c051a221bafa0c807f394878637c9d6bcf40ad0444
hovercard-subject-tagissue:215036398
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/5476/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3a6544a8bd3a20c9f0ee46dcd3ae32b62af9311888e7bde32a78023045e68510/angular/angular-cli/issues/5476
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a6544a8bd3a20c9f0ee46dcd3ae32b62af9311888e7bde32a78023045e68510/angular/angular-cli/issues/5476
og:image:altBug Report or Feature Request (mark with an x) bug report -> please search issues before submitting Versions. @angular/cli: 1.0.0-rc.2 node: 6.9.5 os: darwin x64 @angular/animations: 4.0.0-rc.4 @an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameIgorMinar
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/5476#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F5476
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%2F5476
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/5476
Reloadhttps://github.com/angular/angular-cli/issues/5476
Reloadhttps://github.com/angular/angular-cli/issues/5476
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/5476
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/5476
ng build chokes on processing Angular source mapshttps://github.com/angular/angular-cli/issues/5476#top
https://github.com/hansl
https://github.com/Brocco
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#issue-215036398
IgorMinarhttps://github.com/IgorMinar
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#event-1004641668
IgorMinarhttps://github.com/IgorMinar
hanslhttps://github.com/hansl
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#event-1004642130
hanslhttps://github.com/hansl
Broccohttps://github.com/Brocco
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#event-1004762291
https://github.com/Brocco
Broccohttps://github.com/Brocco
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287450054
angular/angular/pull/15226https://github.com/angular/angular/pull/15226
#5480https://github.com/angular/angular-cli/issues/5480
Broccohttps://github.com/Brocco
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5476#event-1005028838
IgorMinarhttps://github.com/IgorMinar
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5476#event-1006931848
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287800120
https://github.com/hansl
hanslhttps://github.com/hansl
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287873865
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287932026
@hanslhttps://github.com/hansl
https://github.com/hansl
hanslhttps://github.com/hansl
on Mar 21, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287956558
mozilla/source-map#247https://github.com/mozilla/source-map/issues/247
ionic-team/ionic-app-scripts#796https://github.com/ionic-team/ionic-app-scripts/issues/796
@IgorMinarhttps://github.com/IgorMinar
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Mar 21, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-287984575
@hanslhttps://github.com/hansl
mozilla/source-map#257 (comment)https://github.com/mozilla/source-map/pull/257#issuecomment-287984444
https://github.com/hansl
hanslhttps://github.com/hansl
on Mar 21, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-288142253
https://github.com/hansl
hanslhttps://github.com/hansl
on Mar 21, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-288237053
hanslhttps://github.com/hansl
on Mar 21, 2017https://github.com/angular/angular-cli/issues/5476#event-1009497773
filipesilvahttps://github.com/filipesilva
command: buildhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22command%3A%20build%22
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Mar 23, 2017https://github.com/angular/angular-cli/issues/5476#event-1013262457
https://github.com/zackarychapple
zackarychapplehttps://github.com/zackarychapple
on May 16, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-301856666
https://github.com/Brocco
Broccohttps://github.com/Brocco
on Jul 14, 2017https://github.com/angular/angular-cli/issues/5476#issuecomment-315468067
this linehttps://github.com/angular/angular-cli/blob/962b028e7c30150df49dc1a15cdc6f573e1768f5/packages/%40angular/cli/models/webpack-configs/common.ts#L93
Broccohttps://github.com/Brocco
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 14, 2017https://github.com/angular/angular-cli/issues/5476#event-1164973810
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 7, 2019https://github.com/angular/angular-cli/issues/5476#issuecomment-529083321
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 7, 2019https://github.com/angular/angular-cli/issues/5476#event-2616064139
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/5476
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/5476
Broccohttps://github.com/Brocco
hanslhttps://github.com/hansl
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P1%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
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.