jQWidgets Forums
jQuery UI Widgets › Forums › Getting Started › trouble installing with angular 8
Tagged: angular components
This topic contains 1 reply, has 2 voices, and was last updated by Peter Stoev 5 years, 2 months ago.
-
Author
-
Hello
I try using Jqwidjets with Angular 8 and made installation as wriiten in “Angular CLI with jQWidgets”
I have this error message :
ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbargauge.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: D:\projets_Angular2\jqwidgets-angular-cli-app\node_modules\jqwidgets-scripts\jqwidgets-ts\angular_jqxbargauge.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the ‘files’ or ‘include’ property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
at AngularCompilerPlugin.getCompiledFile (D:\projets_Angular2\jqwidgets-angular-cli-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:913:23)
at plugin.done.then (D:\projets_Angular2\jqwidgets-angular-cli-app\node_modules\@ngtools\webpack\src\loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)package.json
{
“name”: “jqwidgets-angular-cli-app”,
“version”: “0.0.0”,
“scripts”: {
“ng”: “ng”,
“start”: “ng serve”,
“build”: “ng build”,
“test”: “ng test”,
“lint”: “ng lint”,
“e2e”: “ng e2e”
},
“private”: true,
“dependencies”: {
“@angular/animations”: “~8.2.14”,
“@angular/common”: “~8.2.14”,
“@angular/compiler”: “~8.2.14”,
“@angular/core”: “~8.2.14”,
“@angular/forms”: “~8.2.14”,
“@angular/platform-browser”: “~8.2.14”,
“@angular/platform-browser-dynamic”: “~8.2.14”,
“@angular/router”: “~8.2.14”,
“jqwidgets-scripts”: “^9.0.0”,
“rxjs”: “~6.4.0”,
“tslib”: “^1.10.0”,
“zone.js”: “~0.9.1”
},
“devDependencies”: {
“@angular-devkit/build-angular”: “~0.803.21”,
“@angular/cli”: “~8.3.21”,
“@angular/compiler-cli”: “~8.2.14”,
“@angular/language-service”: “~8.2.14”,
“@types/node”: “~8.9.4”,
“@types/jasmine”: “~3.3.8”,
“@types/jasminewd2”: “~2.0.3”,
“codelyzer”: “^5.0.0”,
“jasmine-core”: “~3.4.0”,
“jasmine-spec-reporter”: “~4.2.1”,
“karma”: “~4.1.0”,
“karma-chrome-launcher”: “~2.2.0”,
“karma-coverage-istanbul-reporter”: “~2.0.1”,
“karma-jasmine”: “~2.0.1”,
“karma-jasmine-html-reporter”: “^1.4.0”,
“protractor”: “~5.4.0”,
“ts-node”: “~7.0.0”,
“tslint”: “~5.15.0”,
“typescript”: “~3.5.3”
}
}Thanks for your help
Hi,
Please, refer to: https://www.jqwidgets.com/angular-components-documentation/documentation/angular-cli-with-jqwidgets-ng/index.htm.
Now, this is the preferred way.Regards,
Peter -
AuthorPosts
You must be logged in to reply to this topic.