Title: 1st-specs.testing.zip not working in Windows 10 environment · Issue #18288 · angular/angular · GitHub
Open Graph Title: 1st-specs.testing.zip not working in Windows 10 environment · Issue #18288 · angular/angular
X Title: 1st-specs.testing.zip not working in Windows 10 environment · Issue #18288 · angular/angular
Description: I'm submitting a... [x] Bug report [x] Documentation issue or request Current behavior In the https://angular.io/guide/testing#the-first-karma-test Downloaded the 1st-specs.testing.zip and installed node modules and ran the app per the t...
Open Graph Description: I'm submitting a... [x] Bug report [x] Documentation issue or request Current behavior In the https://angular.io/guide/testing#the-first-karma-test Downloaded the 1st-specs.testing.zip and installe...
X Description: I'm submitting a... [x] Bug report [x] Documentation issue or request Current behavior In the https://angular.io/guide/testing#the-first-karma-test Downloaded the 1st-specs.testing.zip and inst...
Opengraph URL: https://github.com/angular/angular/issues/18288
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"1st-specs.testing.zip not working in Windows 10 environment","articleBody":"## I'm submitting a...\r\n\u003cpre>\u003ccode>\r\n[x] Bug report \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[x] Documentation issue or request\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\nIn the \u003ca href='https://angular.io/guide/testing#the-first-karma-test'>https://angular.io/guide/testing#the-first-karma-test\u003c/a>\r\nDownloaded the 1st-specs.testing.zip and installed node modules and ran the app per the testing documentation and it failed to reproduce even the initial expected behavior.\r\n\r\n## Expected behavior\r\nAs per \u003ca href='https://angular.io/guide/testing#the-first-karma-test'>The first karma test\u003c/a>:\r\n\u003cpre>\u003ccode>\r\n> npm test\r\n...\r\n[0] 1:37:03 PM - Compilation complete. Watching for file changes.\r\n...\r\n[1] Chrome 51.0.2704: Executed 0 of 0 SUCCESS\r\n Chrome 51.0.2704: Executed 1 of 1 SUCCESS\r\nSUCCESS (0.005 secs / 0.005 secs)\r\n\u003c/code>\u003c/pre>\r\n\r\n## Minimal reproduction of the problem with instructions\r\nDownloaded the 1st-specs.testing.zip and \r\n\u003cpre>\u003ccode>\r\n mkdir 1st-spec\r\n cd 1st-spec\r\n \u003c- pasted contents of zip file\r\n npm install\r\n npm test\r\n\u003c/code>\u003c/pre>\r\n\r\nActual behavior:\r\n\u003cpre>\u003ccode>\r\nC:\\Dat\\Nsg\\L\\Web\\Ng\\1st-spec>npm test\r\n\r\n> angular-io-example@1.0.0 pretest C:\\Dat\\Nsg\\L\\Web\\Ng\\1st-spec\r\n> npm run build\r\n\r\n> angular-io-example@1.0.0 build C:\\Dat\\Nsg\\L\\Web\\Ng\\1st-spec\r\n> tsc -p src/\r\n\r\n> angular-io-example@1.0.0 test C:\\Dat\\Nsg\\L\\Web\\Ng\\1st-spec\r\n> concurrently \"npm run build:watch\" \"karma start karma.conf.js\"\r\n\r\n[0]\r\n[0] > angular-io-example@1.0.0 build:watch C:\\Dat\\Nsg\\L\\Web\\Ng\\1st-spec\r\n[0] > tsc -p src/ -w\r\n[0]\r\n[0] 3:27:48 PM - Compilation complete. Watching for file changes.\r\n[0]\r\n[0]\r\n[1] 21 07 2017 15:27:53.586:WARN [watcher]: Pattern \"C:/Dat/Nsg/L/Web/Ng/1st-spec/src/systemjs.config.extras.js\" does not match any file.\r\n[1] 21 07 2017 15:27:53.723:WARN [watcher]: All files matched by \"C:/Dat/Nsg/L/Web/Ng/1st-spec/src/testing/**/*.js\" were excluded or matched by prior matchers.\r\n[1] 21 07 2017 15:27:53.724:WARN [watcher]: All files matched by \"C:/Dat/Nsg/L/Web/Ng/1st-spec/src/testing/**/*.ts\" were excluded or matched by prior matchers.\r\n[1] 21 07 2017 15:27:53.724:WARN [watcher]: All files matched by \"C:/Dat/Nsg/L/Web/Ng/1st-spec/src/testing/**/*.js.map\" were excluded or matched by prior matchers.\r\n[1] 21 07 2017 15:27:54.082:WARN [karma]: No captured browser, open http://localhost:9876/\r\n[1] 21 07 2017 15:27:54.101:WARN [karma]: Port 9876 in use\r\n[1] 21 07 2017 15:27:54.103:INFO [karma]: Karma v1.7.0 server started at http://0.0.0.0:9877/\r\n[1] 21 07 2017 15:27:54.103:INFO [launcher]: Launching browser Chrome with unlimited concurrency\r\n[1] 21 07 2017 15:27:54.147:INFO [launcher]: Starting browser Chrome\r\n[1] 21 07 2017 15:27:56.672:INFO [Chrome 59.0.3071 (Windows 10 0.0.0)]: Connected on socket jUr4WQKut4Ubov7QAAAA with id 80505140\r\n[1] 21 07 2017 15:27:57.490:WARN [web-server]: 404: /base/src/systemjs.config.extras.js\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) LOG: 'Warning: System.import could not load the optional \"systemjs.config.extras.js\". Did you omit it by accident? Continuing without it.'\r\n[1]\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) LOG: 'Warning: System.import could not load the optional \"systemjs.config.extras.js\". Did you omit it by accident? Continuing without it.'\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) LOG: Error{originalErr: Error{__zone_symbol__currentTask: ZoneTask{_zone: ..., runCount: ..., _zoneDelegates: ..., _state: ..., type: ..., source: ..., data: ..., scheduleFn: ..., cancelFn: ..., callback: ..., invoke: ...}}, __zone_symbol__currentTask: ZoneTask{_zone: Zone{_properties: ..., _parent: ..., _name: ..., _zoneDelegate: ...}, runCount: 0, _zoneDelegates: null, _state: 'notScheduled', type: 'microTask', source: 'Promise.then', data: undefined, scheduleFn: undefined, cancelFn: null, callback: function () { ... }, invoke: function () { ... }}}\r\n[1]\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) LOG: Error{originalErr: Error{__zone_symbol__currentTask: ZoneTask{_zone: ..., runCount: ..., _zoneDelegates: ..., _state: ..., type: ..., source: ..., data: ..., scheduleFn: ..., cancelFn: ..., callback: ..., invoke: ...}}, __zone_symbol__currentTask: ZoneTask{_zone: Zone{_properties: ..., _parent: ..., _name: ..., _zoneDelegate: ...}, runCount: 0, _zoneDelegates: null, _state: 'notScheduled', type: 'microTask', source: 'Promise.then', data: undefined, scheduleFn: undefined, cancelFn: null, callback: function () { ... }, invoke: function () { ... }}}\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) ERROR: 'Unhandled Promise rejection:', '(SystemJS) XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error: XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js', '; Zone:', '\u003croot>', '; Task:', 'Promise.then', '; Value:', Error{originalErr: Error{__zone_symbol__currentTask: ZoneTask{_zone: ..., runCount: ..., _zoneDelegates: ..., _state: ..., type: ..., source: ..., data: ..., scheduleFn: ..., cancelFn: ..., callback: ..., invoke: ...}}, __zone_symbol__currentTask: ZoneTask{_zone: Zone{_properties: ..., _parent: ..., _name: ..., _zoneDelegate: ...}, runCount: 0, _zoneDelegates: null, _state: 'notScheduled', type: 'microTask', source: 'Promise.then', data: undefined, scheduleFn: undefined, cancelFn: null, callback: function () { ... }, invoke: function () { ... }}}, '(SystemJS) XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error: XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js'\r\n[1]\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) ERROR: 'Unhandled Promise rejection:', '(SystemJS) XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error: XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js', '; Zone:', '\u003croot>', '; Task:', 'Promise.then', '; Value:', Error{originalErr: Error{__zone_symbol__currentTask: ZoneTask{_zone: ..., runCount: ..., _zoneDelegates: ..., _state: ..., type: ..., source: ..., data: ..., scheduleFn: ..., cancelFn: ..., callback: ..., invoke: ...}}, __zone_symbol__currentTask: ZoneTask{_zone: Zone{_properties: ..., _parent: ..., _name: ..., _zoneDelegate: ...}, runCount: 0, _zoneDelegates: null, _state: 'notScheduled', type: 'microTask', source: 'Promise.then', data: undefined, scheduleFn: undefined, cancelFn: null, callback: function () { ... }, invoke: function () { ... }}}, '(SystemJS) XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error: XHR error (404 Not Found) loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js\r\n[1] Error loading http://localhost:9877/base/src/node_modules/@angular/core/bundles/core-testing.umd.js'\r\n[1] 21 07 2017 15:28:07.537:WARN [Chrome 59.0.3071 (Windows 10 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) ERROR\r\n[1] Disconnected, because no message in 10000 ms.\r\n[1]\r\n[1] Chrome 59.0.3071 (Windows 10 0.0.0) ERROR\r\n[1] Disconnected, because no message in 10000 ms.\r\n[1]\r\n[0] Terminate batch job (Y/N)?\r\n\u003c/code>\u003c/pre>\r\n\r\n## What is the motivation / use case for changing the behavior?\r\nJust a quick check to see what debugging actually looks like.\r\n\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\nAngular version: 4.2.6\r\n>node --version\r\nv6.11.0\r\n>npm --version\r\n3.10.10\r\n>tsc --version\r\nVersion 2.4.1\r\n\r\nBrowser:\r\n- [X] Chrome (desktop) Version 59.0.3071.115 (Official Build) (64-bit)\r\n \r\nFor Tooling issues:\r\n- Node version: v6.11.0\r\n- Platform: Windows 10 Pro\r\n\r\nOthers:\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/PHuhn","@type":"Person","name":"PHuhn"},"datePublished":"2017-07-21T20:01:07Z","url":"https://github.com/angular/angular/issues/18288"}
| 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:f9b79264-481b-a615-a496-3ceab0f45255 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC6C:FC5BE:1185CA2:174AAB8:6B011B65 |
| html-safe-nonce | 72423f457cff5a378f046f05ec00778d37f0722146698a7abd16203731542031 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzZDOkZDNUJFOjExODVDQTI6MTc0QUFCODo2QjAxMUI2NSIsInZpc2l0b3JfaWQiOiIxMzkyNzI4ODY2NDgwNTI4MjI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 38b56358a778adf33e90731331f3d26576387b67ea0b9889ab02bbbbe6a28561 |
| hovercard-subject-tag | issue:244769005 |
| 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/18288/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3201ac6415b9d53b75526c37488c5a69908a1df4a423a24f50d59094a7a6a95a/angular/angular/issues/18288 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3201ac6415b9d53b75526c37488c5a69908a1df4a423a24f50d59094a7a6a95a/angular/angular/issues/18288 |
| og:image:alt | I'm submitting a... [x] Bug report [x] Documentation issue or request Current behavior In the https://angular.io/guide/testing#the-first-karma-test Downloaded the 1st-specs.testing.zip and installe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PHuhn |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width