0
저는 AOT를 만들 때 끔찍한 문제가 있습니다. 개발 모드에서는 모든 것이 잘됩니다.
ERROR in ./src/$$_gendir lazy
Module not found: Error: Can't resolve 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts' in 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir'
resolve 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts' in 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir'
using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir)
using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir/app/view-auth/auth.module.ngfactory.ts)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts.js doesn't exist
as directory
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts doesn't exist
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts.ts]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts.js]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-auth\auth.module.ngfactory.ts]
@ ./src/$$_gendir lazy
@ ./node_modules/@angular/core/@angular/core.es5.js
@ ./src/main.ts
@ multi ./src/main.ts
ERROR in ./src/$$_gendir lazy
Module not found: Error: Can't resolve 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts' in 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir'
resolve 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts' in 'C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir'
using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir)
Field 'browser' doesn't contain a valid alias configuration
after using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir)
using description file: C:\Users\jarkro\IdeaProjects\vlo-frontend\package.json (relative path: ./src/$$_gendir/app/view-ewniosek/ewniosek-views/ewniosek.module.ngfactory.ts)
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts.js doesn't exist
as directory
C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts doesn't exist
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts.ts]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts.js]
[C:\Users\jarkro\IdeaProjects\vlo-frontend\src\$$_gendir\app\view-ewniosek\ewniosek-views\ewniosek.module.ngfactory.ts]
@ ./src/$$_gendir lazy
@ ./node_modules/@angular/core/@angular/core.es5.js
@ ./src/main.ts
@ multi ./src/main.ts
내가 [email protected]
를 설치하려고했지만 여전히 작동하지 않습니다 난 내 응용 프로그램을 구축 할 때하지만 난 오류가 발생했습니다. 내 응용 프로그램에서 사용되는 라이브러리의 버전 아래
Angular CLI: 1.6.0
Node: 8.9.3
OS: win32 x64
Angular: 4.4.1
... animations, common, compiler, core, forms, http
... platform-browser, platform-browser-dynamic, router
@angular/cli: 1.6.0
@angular/compiler-cli: 4.4.5
@angular/tsc-wrapped: 4.4.5
@angular-devkit/build-optimizer: 0.0.35
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.41
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.0
@schematics/angular: 0.1.10
@schematics/schematics: 0.0.10
typescript: 2.5.3
webpack: 3.10.0
사람은 비슷한 오류가 발생한 날 도와 드릴까요?
" '브라우저'에 유효한 별칭 구성이 없습니다. '라는 오류 메시지를 확인 했습니까? –
이렇게하면 문제가 해결됩니다 [링크 설명 입력] (https://stackoverflow.com/questions/43037590/field-browser-doesnt-contain-a-valid-alias-configuration) –