jQuery UI Widgets Forums Angular Angular error in new project

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Angular error in new project #106779

    sankyn1
    Participant

    Error :
    ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbuttons.ts
    Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
    Error: D:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\jqwidgets-scripts\jqwidgets-ts\angular_jqxbuttons.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:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:913:23)
    at plugin.done.then (D:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxpopover.ts
    Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
    Error: D:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\jqwidgets-scripts\jqwidgets-ts\angular_jqxpopover.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:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:913:23)
    at plugin.done.then (D:\dev_checkin_tab_app\trunk\dev-checkin-tab-app\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at process._tickCallback (internal/process/next_tick.js:68:7)

    TsConfig.ts
    “include”: [
    “src/**/*”
    ],
    “files”: [
    “src/app/app.module.ts”,
    “node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxbuttons.ts”,
    “node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxpopover.ts”
    ]

    Still getting error
    install and uninstall has been done

    Angular error in new project #106823

    Hristo
    Participant

    Hello sankyn1,

    Could you provide us with one simplified example that demonstrates your case?
    You could use the stackblitz example as a base.

    Also, we recommend to use this tutorial below which provide a better approach and it is more flexible:
    https://www.jqwidgets.com/angular-components-documentation/documentation/angular-cli-with-jqwidgets-ng/index.htm?search=

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.