6

以前は npm を使用していましたが、最近糸に切り替えました。実行するyarn testと、すべてのテストに合格したことが表示されますが、以下ではerror Command failed with exit code 1、このエラーの原因に関する他の情報はありません

ノードのバージョン: 6.3.1

糸のバージョン: 0.16.3

潜在的な原因 console.error node_modules/core-js/modules/es6.promise.js:117 Unhandled promise rejection Error: Actions may not be an undefined. at dispatch (/node_modules/redux-mock-store/lib/index.js:35:19) at /node_modules/redux-thunk/lib/index.js:14:16 at dispatch (/node_modules/redux/lib/applyMiddleware.js:45:18) at /src/actions/ontologies.js:159:7 at run (/node_modules/core-js/modules/es6.promise.js:87:22) at /node_modules/core-js/modules/es6.promise.js:100:28 at flush (/node_modules/core-js/modules/_microtask.js:18:9) at process._tickCallback (internal/process/next_tick.js:103:7)

4

3 に答える 3

3

答え:

エラー コードは、ライン カバレッジが定義した値 (90%) を下回っているためです。それはすでに私に言ったline coverage 86.8% is below user defined value of 90%ので、糸がそのエラーを「二重に報告」する可能性は低いと思いました。

于 2016-12-05T21:04:17.647 に答える