This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115
stars
21
forks
source link
Nativescript-ui-sidedrawer > 9.0.0-rc.1 gives error in ngcc step #1448
Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.
Please, provide the details below:
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?
iOS/Android/Both (if applicable tell us the specific version of the platform)
Both
Please provide the following version numbers that your issue occurs with:
I get the following error on my postinstall script ngcc --properties es2015 module main --first-only if I increase the nativescript-ui-sidedrawer to above 9.0.0-rc.1 (e.g. 9.0.0-rc.2 or 9.0.0-rc.3)...
Error: Error on worker #4: Error: The given rootPath undefined is not a file of the program.
at getRootFileOrFail (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:2324:19)
at Esm2015ReflectionHost.computePublicDtsDeclarationMap (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:1648:27)
at Esm2015ReflectionHost.getDtsDeclaration (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/host/esm2015_host.js:458:53)
at DelegatingReflectionHost.getDtsDeclaration (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/host/delegating_host.js:62:34)
at Object.wrapTypeReference (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/util.js:460:34)
at Object.extractDirectiveMetadata (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/directive.js:256:27)
at ComponentDecoratorHandler.analyze (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/annotations/src/component.js:145:47)
at NgccTraitCompiler.TraitCompiler.analyzeTrait (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:346:40)
at analyze (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:298:58)
at _loop_1 (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:320:21)
at ClusterMaster.onWorkerMessage (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:195:27)
at /home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:55:95
at ClusterMaster.<anonymous> (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:293:57)
at step (/home/ken/dev/animalus/ng10/ng-core/node_modules/tslib/tslib.js:140:27)
at Object.next (/home/ken/dev/animalus/ng10/ng-core/node_modules/tslib/tslib.js:121:57)
at /home/ken/dev/animalus/ng10/ng-core/node_modules/tslib/tslib.js:114:75
at new Promise (<anonymous>)
at Object.__awaiter (/home/ken/dev/animalus/ng10/ng-core/node_modules/tslib/tslib.js:110:16)
at EventEmitter.<anonymous> (/home/ken/dev/animalus/ng10/ng-core/node_modules/@angular/compiler-cli/ngcc/src/execution/cluster/master.js:287:32)
at EventEmitter.emit (events.js:203:13)
Please, provide the details below:
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Which platform(s) does your issue occur on?
iOS/Android/Both (if applicable tell us the specific version of the platform)
Both
Please provide the following version numbers that your issue occurs with:
I get the following error on my postinstall script
ngcc --properties es2015 module main --first-only
if I increase thenativescript-ui-sidedrawer
to above 9.0.0-rc.1 (e.g. 9.0.0-rc.2 or 9.0.0-rc.3)...Relevant parts of
package.json
:Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
(You can paste entire code snippets, link to playground demo or attach a runnable project)