2017-10-14 9 views
2

내 코너 프로젝트에 AOT 컴파일을 실행하려고 만하고있어 나는 다음과 같은 오류 가지고각도 AOT 알 수없는 식별자

"./node_modules/.bin/ngc" -p tsconfig-aot.json 

명령을 실행하면 내가 알 수있는 방법

Error: Internal error: unknown identifier undefined 
    at Object.importExpr$$1 [as importExpr] (..\node_modules\@angular\compiler\bundles\compiler.umd.js:24071:23) 
    at tokenExpr ..\node_modules\@angular\compiler\bundles\compiler.umd.js:18428:39) 
    at providerDef (..\node_modules\@angular\compiler\bundles\compiler.umd.js:18331:20) 
    at ..\node_modules\@angular\compiler\bundles\compiler.umd.js:18548:77 
    at Array.map (native) 
    at NgModuleCompiler.compile (..\node_modules\@angular\compiler\bundles\compiler.umd.js:18548:44) 
    at AotCompiler._compileModule (..\node_modules\@angular\compiler\bundles\compiler.umd.js:24004:32) 
    at ..\node_modules\@angular\compiler\bundles\compiler.umd.js:23916:66 
    at Array.forEach (native) 
    at AotCompiler._compileImplFile (..\node_modules\@angular\compiler\bundles\compiler.umd.js:23916:19) Compilation failed 

을 어떤 파일에서 오류가 무엇이며 오류가 무엇입니까?

+0

이 문제는 재현 되셨습니까? – yurzui

+0

@yurzui 재생산이란 무엇을 의미합니까? 이것은 Jhipster를 기반으로 한 꽤 큰 프로젝트입니다. debbuging을 어디서 시작해야할지 모르겠습니다. –

답변

1

우리는 최근에 같은 문제가 발생했습니다. 누락되었습니다 위치@ angular/common 모듈에서 가져옵니다.