This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
(low) [export 'ɵɵdefineInjectable' was not found in '@angular/core] #289
Labels
bug
Something isn't working
Prerequisites
Description
I want to use the @vcd/ui-components library to create components in my angular project for vCD v. 10.0.x extension (plug-in). I use Angular 6.1.0 and Clarity 0.13.11 (https://blogs.vmware.com/cloudprovider/2020/02/cloud-director-plugin-dev-env.html).
Which version of @vcd/ui-components I should use in my project? I try the latest so it is 0.0.24.
When serve the app in console there is the warning:
WARNING in /node_modules/@vcd/ui-components/fesm5/vcd-ui-components.js 1138:50-68
"export 'ɵɵdefineInjectable' was not found in '@angular/core'
In library package.json:
"peerDependencies": {
"@angular/common": ">6.0.0",
"@angular/core": ">6.0.0",
"@vcd/i18n": "0.0.8",
"tslib": "^1.10.0"
},
in browser I have the error and I can't properly run the app.
Uncaught (in promise): TypeError: Object(...) is not a function
TypeError: Object(...) is not a function
at vcd-ui-components.js:1138
at Module.../../node_modules/@vcd/ui-components/fesm5/vcd-ui-components.js (vcd-ui-components.js:1140)
Impact
Please help me use your components in my application
Versions
Angular CLI: v7.3.10
Node: v10.13.0
Angular: v6.1.0
NPM: v6.4.1
The text was updated successfully, but these errors were encountered: