Title: JS source map broken in Safari with Angular CLI 1.4.2 · Issue #7724 · angular/angular-cli · GitHub
Open Graph Title: JS source map broken in Safari with Angular CLI 1.4.2 · Issue #7724 · angular/angular-cli
X Title: JS source map broken in Safari with Angular CLI 1.4.2 · Issue #7724 · 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.4.2 node: 6.11.3 os: darwin x64 @angular/animations: 4.4.1 @angular/common: 4.4.1 @...
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.4.2 node: 6.11.3 os: darwin x64 @angular/an...
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.4.2 node: 6.11.3 os: darwin x64 @angular...
Opengraph URL: https://github.com/angular/angular-cli/issues/7724
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JS source map broken in Safari with Angular CLI 1.4.2","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: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n@angular/cli: 1.4.2\r\nnode: 6.11.3\r\nos: darwin x64\r\n@angular/animations: 4.4.1\r\n@angular/common: 4.4.1\r\n@angular/compiler: 4.4.1\r\n@angular/core: 4.4.1\r\n@angular/forms: 4.4.1\r\n@angular/http: 4.4.1\r\n@angular/platform-browser: 4.4.1\r\n@angular/platform-browser-dynamic: 4.4.1\r\n@angular/router: 4.4.1\r\n@angular/cli: 1.4.2\r\n@angular/compiler-cli: 4.4.1\r\n@angular/language-service: 4.4.1\r\ntypescript: 2.3.4\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\nng new --skip-install --skip-git --skip-commit my-dream-app\r\nEdit package.json and add these entries under \"devDependencies\"\r\n\"bootstrap\": \"^4.0.0-beta\",\r\n\"jquery\": \"^3.2.1\",\r\n\"popper.js\": \"1.11.0\"\r\n\r\nEdit .angular-cli.json and add entry under \"styles\"\r\n\"../node_modules/bootstrap/dist/css/bootstrap.css\",\r\n\"styles.css\"\r\n\r\nAdd entry under \"scripts\" in the following order.\r\n\"../node_modules/jquery/dist/jquery.slim.js\",\r\n\"../node_modules/popper.js/dist/umd/popper.js\",\r\n\"../node_modules/bootstrap/dist/js/bootstrap.js\"\r\n\r\nRun npm install then ng serve\r\n\r\nOpen Safari, open inspector first (need to enable Developer menu in preferences if you don't have it initially) before going to http://localhost:4200/\r\n\r\nYou will see the 404 error for the missing http://localhost:4200/popper.js.map\r\n\r\nGo to Chrome, open inspector first and go to http://localhost:4200/\r\n\r\nYou won't see the 404 error for the missing http://localhost:4200/popper.js.map\r\n\r\nSo this issue pertains to Safari browser only.\r\n\r\nI found out about this error only after I upgraded from angular CLI 1.2.7 to 1.4.2. Try creating new app under CLI 1.27 version, repeating the same steps above, there is no 404 error about the popper.js.map.\r\n\r\nI think something broke with the source maps in Safari. Could be similar issue with the issue #6697 but I am not sure if it is related.\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\nFailed to load resource: the server responded with a status of 404 (Not Found)\r\nhttp://localhost:4200/popper.js.map\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\nThis 404 error should not appear as tested in CLI 1.2.7.\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\nI am using Safari Version 10.1.2 (12603.3.8) if that matters.\r\n","author":{"url":"https://github.com/waimun","@type":"Person","name":"waimun"},"datePublished":"2017-09-17T15:12:55Z","url":"https://github.com/angular/angular-cli/issues/7724"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4dad4ac-ee42-a5df-e0bc-96eba5f97dd5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A838:2303A6:1111895:1761366:6B05644D |
| html-safe-nonce | 3fa53de055a150c6e0fe566ffd8a844c00b52318e55cdd586cc3204f822a9579 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODM4OjIzMDNBNjoxMTExODk1OjE3NjEzNjY6NkIwNTY0NEQiLCJ2aXNpdG9yX2lkIjoiNzM2MTI0NDI2MTE1NDkwNzIxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b1090a71d7bfd2d0403283264a5f81bd060838e3fca038957b8d389e55bb9822 |
| hovercard-subject-tag | issue:258310478 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/7724/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a71189362387a91aad49ef80b8511f6789323357ff5b11a0ce997a4644042d1/angular/angular-cli/issues/7724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a71189362387a91aad49ef80b8511f6789323357ff5b11a0ce997a4644042d1/angular/angular-cli/issues/7724 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.4.2 node: 6.11.3 os: darwin x64 @angular/an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waimun |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1be5cc09efdd4833c24a4ffa71d698e3999fa09071e159fe14c2c08e41c98331 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f6d69234e682c947a48074340e69d45d5901de31 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width