构建期间的 ng2 bootstrap 问题找不到 'core-js' 的类型定义文件
ng2 bootstrap issue during build Cannot find type definition file for 'core-js'
C 中的错误:\projects\xxxx\node_modules@ng-bootstrap\ng-bootstrap\modal\modal-ref.d.ts
(1,1):错误 TS2688:找不到 'core-js'.
的类型定义文件
切换到@ng-bootstrap 1.0.0-alpha.12 后我遇到了同样的问题。
切换到 alpha.13 后,错误消失了。
@ng-bootstrap 1.0.0-alpha.12 版本中存在错误,已在 1.0.0-alpha.13 中得到纠正。 https://github.com/ng-bootstrap/ng-bootstrap/issues/1027
中提供了更多详细信息
简而言之:1.0.0-alpha.12 版本已损坏,请使用 1.0.0-alpha.13 版本
C 中的错误:\projects\xxxx\node_modules@ng-bootstrap\ng-bootstrap\modal\modal-ref.d.ts (1,1):错误 TS2688:找不到 'core-js'.
的类型定义文件切换到@ng-bootstrap 1.0.0-alpha.12 后我遇到了同样的问题。
切换到 alpha.13 后,错误消失了。
@ng-bootstrap 1.0.0-alpha.12 版本中存在错误,已在 1.0.0-alpha.13 中得到纠正。 https://github.com/ng-bootstrap/ng-bootstrap/issues/1027
中提供了更多详细信息简而言之:1.0.0-alpha.12 版本已损坏,请使用 1.0.0-alpha.13 版本