You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] libraries dependencies using index.ts #11210
It contains two libraries. Second is dependent on First. Build first lib using npm run first:build, then build second using npm run second:build - it fails.
Now go to https://github.com/piernik/lib-deps-bug/blob/master/projects/first/src/lib/first.module.ts and comment in import {MyPipePipe} from './pipes'; and comment out // import {MyPipePipe} from './pipes/my-pipe/my-pipe.pipe';
It is working now.
The log given by the failure
Building Angular Package
Building entry point 'second'
Rendering Stylesheets
Rendering Templates
Compiling TypeScript sources through ngc
: Unexpected value 'undefined' exported by the module 'FirstModule in C:/strony/www/libsNg/deps/dist/first/first.d.ts'
: Unexpected value 'undefined' declared by the module 'FirstModule in C:/strony/www/libsNg/deps/dist/first/first.d.ts'
Desired functionality
Pipes folder is exported as a whole with index.ts so it should work.
I have heard of this problem as well, and think the issue where it is best described is the one @alan-agius4 mentioned. I am closing this issue to focus the discussion there.
Activity
alan-agius4 commentedon Jun 13, 2018
Seems to me that this is also related to angular/angular#23713
filipesilva commentedon Jun 13, 2018
I have heard of this problem as well, and think the issue where it is best described is the one @alan-agius4 mentioned. I am closing this issue to focus the discussion there.
angular-automatic-lock-bot commentedon Sep 8, 2019
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.