Repository navigation
Closed
Description
Please provide us with the following information:
OS?
Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Linuxmint 18.1
Versions.
Please run
ng --version. If there's nothing outputted, please run in a Terminal:node --versionand paste the result here:
_ _ _
__ _ _ __ __ _ _ _ | | __ _ _ __ ___ | |(_)
/ _` || '_ \ / _` || | | || | / _` || '__|_____ / __|| || |
| (_| || | | || (_| || |_| || || (_| || | |_____|| (__ | || |
\__,_||_| |_| \__, | \__,_||_| \__,_||_| \___||_||_|
|___/
@angular/cli: 1.0.0-beta.31
node: 6.9.5
os: linux x64
@angular/common: 2.2.1
@angular/compiler: 2.2.1
@angular/compiler-cli: 2.2.1
@angular/core: 2.2.1
@angular/forms: 2.2.1
@angular/http: 2.2.1
@angular/platform-browser: 2.2.1
@angular/platform-browser-dynamic: 2.2.1
@angular/platform-server: 2.2.1
@angular/cli: 1.0.0-beta.31
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
Not changed anything.
The log given by the failure.
Normally this include a stack trace and some more information.
ng test --code-coverage --watch=false
START:
10 02 2017 13:02:33.145:WARN [karma]: Port 9876 in use
10 02 2017 13:02:33.146:WARN [karma]: Port 9877 in use
10 02 2017 13:02:33.146:WARN [karma]: Port 9878 in use
10 02 2017 13:02:33.147:INFO [karma]: Karma v1.4.1 server started at http://0.0.0.0:9879/
10 02 2017 13:02:33.147:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
10 02 2017 13:02:33.152:INFO [launcher]: Starting browser PhantomJS
10 02 2017 13:02:34.211:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket Jv5eAJYFqrfBbjC3AAAA with id 84629039
... SNIP ...
SUMMARY:
✔ 69 tests completed
Error: Could not find source map for: "/home/fengyu/projects/linchang/site-client-app/src/test.ts"
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:213:11
at Array.forEach (native)
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:192:22
at Array.forEach (native)
at remap (/home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:191:12)
at KarmaRemapIstanbul.onRunComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma-remap-istanbul/index.js:58:21)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at emitRunCompleteIfAllBrowsersDone (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:295:12)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:326:7)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:309:12)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at Browser.onComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/browser.js:143:13)
at Socket.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Socket.emit (events.js:191:7)
at /home/fengyu/projects/linchang/site-client-app/node_modules/socket.io/lib/socket.js:503:12
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Error: Could not find source map for: "/home/fengyu/projects/linchang/site-client-app/src/polyfills.ts"
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:213:11
at Array.forEach (native)
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:192:22
at Array.forEach (native)
at remap (/home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:191:12)
at KarmaRemapIstanbul.onRunComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma-remap-istanbul/index.js:58:21)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at emitRunCompleteIfAllBrowsersDone (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:295:12)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:326:7)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:309:12)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at Browser.onComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/browser.js:143:13)
at Socket.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Socket.emit (events.js:191:7)
at /home/fengyu/projects/linchang/site-client-app/node_modules/socket.io/lib/socket.js:503:12
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
Error: Could not find source map for: "/home/fengyu/projects/linchang/site-client-app/src/mocks.ts"
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:213:11
at Array.forEach (native)
at /home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:192:22
at Array.forEach (native)
at remap (/home/fengyu/projects/linchang/site-client-app/node_modules/remap-istanbul/lib/remap.js:191:12)
at KarmaRemapIstanbul.onRunComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma-remap-istanbul/index.js:58:21)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at emitRunCompleteIfAllBrowsersDone (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:295:12)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:326:7)
at emitOne (events.js:96:13)
at Server.emit (events.js:188:7)
at Server.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/server.js:309:12)
at emitTwo (events.js:111:20)
at Server.emit (events.js:191:7)
at Browser.onComplete (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/browser.js:143:13)
at Socket.<anonymous> (/home/fengyu/projects/linchang/site-client-app/node_modules/karma/lib/events.js:13:22)
at emitTwo (events.js:111:20)
at Socket.emit (events.js:191:7)
at /home/fengyu/projects/linchang/site-client-app/node_modules/socket.io/lib/socket.js:503:12
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
...
Mention any other details that might be useful.
The pre version 1.0.0-beta.30 works very well.
Thanks! We'll be in touch soon.
Metadata
Metadata
Assignees
Labels
No labels
Activity
hansl commentedon Feb 10, 2017
cc @filipesilva
MateEke commentedon Feb 10, 2017
I have the exact same issue.
Os: windows 10
ruffiem commentedon Feb 10, 2017
Can't reproduce with a fresh install. There might be some code to adapt or modules to prune on previous versions.
ruffiem commentedon Feb 10, 2017
How does your karma.conf looks like ?
MateEke commentedon Feb 10, 2017
ruffiem commentedon Feb 10, 2017
Ok, so you may have to adapt your
karma.conf.jswith the one there.Also make sure your
package.jsonis up to date with the new dependencies.Sample:
filipesilva commentedon Feb 10, 2017
For some reason #4560 did not get listed in the breaking changes. Sorry about that.
There's instructions there on what you need to update.
abcfy2 commentedon Feb 10, 2017
Thanks. I fixed my issue also.
Headcult commentedon Feb 13, 2017
Thanks for this, helped me fix my issues as well.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.