Skip to content

Not compatible with angular 9 IVY compiler #16

Description

@vinusorout

Compiling angular2-loaders-css : main as commonjs
Error: Error on worker #3: Error: There is no typings path for LoadersCssComponent in C:/Users/devvws/Source/Repos/autorack-loadings-client/node_modules/angular2-loaders-css/module/loaders-css.component.js.
We need to add an export for this class to a .d.ts typings file because Angular compiler needs to be able to reference this class in compiled code, such as templates.
The simplest fix for this is to ensure that this class is exported from the package's entry-point.
at C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:147:31
at Array.forEach ()
at DtsRenderer.getTypingsFilesToRender (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:145:45)
at DtsRenderer.renderProgram (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\rendering\dts_renderer.js:62:37)
at Transformer.transform (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\packages\transformer.js:81:52)
at ClusterWorker.compile (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\main.js:168:42)
at Worker. (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\worker.js:44:42)
at Worker.emit (events.js:311:20)
at process. (internal/cluster/worker.js:32:12)
at process.emit (events.js:311:20)
at ClusterMaster.onWorkerMessage (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:158:27)
at C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:46:95
at ClusterMaster. (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:238:57)
at step (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules\tslib\tslib.js:139:27)
at Object.next (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules\tslib\tslib.js:120:57)
at C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules\tslib\tslib.js:113:75
at new Promise ()
at Object.__awaiter (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules\tslib\tslib.js:109:16)
at EventEmitter. (C:\Users\devvws\Source\Repos\autorack-loadings-client\node_modules@angular\compiler-cli\ngcc\src\execution\cluster\master.js:232:32)
at EventEmitter.emit (events.js:311:20)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions