0
我得到了TypeScript 2.1並安裝了最新的角度cli。 ng e2e
將運行,但ng test
給出了錯誤Angular CLI ng測試錯誤
<--- Last few GCs --->
52499 ms: Mark-sweep 1366.6 (1434.2) -> 1366.6 (1434.2) MB, 1045.6/0 ms [allocation failure] [GC in old space requested].
53547 ms: Mark-sweep 1366.6 (1434.2) -> 1366.6 (1434.2) MB, 1048.7/0 ms [allocation failure] [GC in old space requested].
54622 ms: Mark-sweep 1366.6 (1434.2) -> 1366.6 (1434.2) MB, 1074.2/0 ms [last resort gc].
55683 ms: Mark-sweep 1366.6 (1434.2) -> 1366.6 (1434.2) MB, 1061.9/0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 000000C0003C9E79 <JS Object>
1: scanNumber [...typescript\lib\typescript.js:~4482] [pc=000002B5ABFA230E] (this=000000C0003E4649 <JS Global Object>)
2: scan [..\typescript\lib\typescript.js:~4820] [pc=000002B5ABF09246] (this=00000348EBB58831 <an Object with map 000000BFCA178B91>)
3: parseDelimitedList [\...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
我試圖刪除node_modules
和NPM我一次沒有運氣跑了。這是沒有編輯任何生成的測試文件。