私はTypeScript 2.1を入手し、最新の角度cliをインストールします。実行されますng e2e
が、ng test
はエラーAngular CLI ng testエラー
<--- 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 I再び及び運走っになります。生成されたテストファイルを編集することはありません。