Closed curiouscod3 closed 2 years ago
The library has dependencies with echart and zrender. so, I think I found a solution.
npm i echarts --save
npm install --save @types/echarts <--optional
npm i zrender
npm i @types/zrender <--optional
I reckon that the doc should mention about 3rd dependencies required to install with Covalent.
https://github.com/Teradata/covalent/blob/develop/package.json
"dependencies": {
"@angular/animations": "^9.0.0",
"@angular/cdk": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/forms": "^9.0.0",
"@angular/material": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/platform-server": "^9.0.0",
"@angular/router": "^9.0.0",
"@ngx-translate/core": "12.0.0",
"@ngx-translate/http-loader": "4.0.0",
**"classlist.js": "^1.1.20150312",**
"core-js": "^2.5.4",
**"easymde": "^2.8.0",
"echarts": "4.2.1",
"echarts-wordcloud": "^1.1.3",**
"hammerjs": "^2.0.8",
**"highlight.js": "9.13.1",**
**"monaco-editor": "^0.17.0",**
"rxjs": "^6.5.4",
**"showdown": "^1.9.1",**
"tslib": "^1.10.0",
"web-animations-js": "2.3.2",
"zone.js": "^0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.900.0",
"@angular-devkit/build-ng-packagr": "^0.900.0",
"@angular-devkit/core": "^9.0.0",
"@angular-devkit/schematics": "^9.0.0",
"@angular/cli": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
**"@covalent/coding-standards": "file:src/platform/coding-standards",
"@types/codemirror": "0.0.80",**
"@types/fs-extra": "^4.0.0",
"@types/hammerjs": "^2.0.30",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.7.2",
"@types/selenium-webdriver": "^2.52.0",
**"autoprefixer": "9.6.5",**
"conventional-changelog-cli": "^2.0.28",
"coveralls": "^3.0.3",
"fs-extra": "^4.0.0",
"glob": "^6.0.4",
"gulp": "4.0.2",
"gulp-bump": "3.1.3",
"gulp-hub": "4.2.0",
"gulp-postcss": "8.0.0",
"gulp-sass": "4.0.2",
"gulp-sourcemaps": "2.6.5",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.0.1",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~2.0.0",
"karma-coverage-istanbul-reporter": "^2.1.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"ng-packagr": "^9.0.0",
"node-sass": "^4.13.1",
"pa11y": "^5.1.0",
"protractor": "^6.0.0",
"require-dir": "0.3.2",
"semver": "5.2.0",
"ts-node": "~7.0.0",
"tsickle": "0.35.0",
"typescript": "~3.7.5",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-stats-plugin": "^0.3.0"
}
@curiouscod3 are the ones marked **
optional?
@curiouscod3 are the ones marked
**
optional?
Exactly !
closing as the current version of Covalent Echarts has echarts
as dev dependency. zrender is no longer required
I got this error,, I am using the latest 3.0.0 version. I've clean installed and setup with Covalent. double checked my AppModule in terms of Covalent modules.