Cannot get final name for export "some-component" in "some-module"
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
@angular/cli: 1.3.0 node: 7.4.0 os: win32 x64 @angular/animations: 4.3.5 @angular/common: 4.3.5 @angular/compiler: 4.3.5 @angular/core: 4.3.5 @angular/forms: 4.3.5 @angular/http: 4.3.5 @angular/platform-browser: 4.3.5 @angular/platform-browser-dynamic: 4.3.5 @angular/router: 4.3.5 @angular/cli: 1.3.0 @angular/compiler-cli: 4.3.5 @angular/language-service: 4.3.5
Repro steps.
Create a project
Add a component with some additional exports in the same file.
run ng b --prod
The log given by the failure.
Error : Cannot get final name for export “ToggleRowEvent”…/node_modules/@controls/grids/grid.component.ts" (known exports: ColumnFilterTypes true, known reexports:)
Desired functionality.
It compiles.
Mention any other details that might be useful.
The problem looks to be caused by a webpack issue, see https://github.com/webpack/webpack/issues/5508 where they recommend that the angular cli is updated to use the latest webpack.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:8 (1 by maintainers)
Thanks, I just reverted angular-cli to 1.2.x for now.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.