我正在尝试将ng2-validation集成到我的基于 Angular2角度种子的项目中。我已按照 ng2-validation 文档中提到的步骤进行操作,但出现以下错误。请在这方面帮助我。
"(SystemJS) Unexpected token <
SyntaxError: Unexpected token <
at Object.eval (http://localhost:5555/node_modules/ng2-validation/dist/directives/range-length.js:13:10)
at eval (http://localhost:5555/node_modules/ng2-validation/dist/directives/range-length.js:43:4)
at eval (http://localhost:5555/node_modules/ng2-validation/dist/directives/range-length.js:44:3)
Evaluating http://localhost:5555/node_modules/ng2-validation/dist/
Evaluating http://localhost:5555/node_modules/ng2-validation/dist/directives/range-length.js
Evaluating http://localhost:5555/node_modules/ng2-validation/dist/directives.js
Evaluating http://localhost:5555/node_modules/ng2-validation/dist/index.js
Evaluating http://localhost:5555/app/app.module.js
Evaluating http://localhost:5555/app/main.js
Error loading http://localhost:5555/app/main.js"