Error trying to generate a war package

Posted by: carlos.rodriguez on 28 February 2020, 1:24 pm EST

  • Posted 28 February 2020, 1:24 pm EST

    The following error throws me.

    [INFO] Module build failed: Error: C:\CARLOS\SOURCE_TREE\bice_desglose_web_oficial\node_modules@grapecity\spread-sheets-angular\dist\gc.spread.sheets.angular.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the ‘files’ or ‘include’ property.

    [ERROR] npm ERR! A complete log of this run can be found in:

    [INFO] 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).

  • Posted 2 March 2020, 1:10 am EST

    Hi Carlos,

    Please add the @grapecity\spread-sheets-angular\dist\gc.spread.sheets.angular.ts in the list of TS source files too to fix the issue. In angular apps, add the following code in your tsconfig.app.json file to do the same:

    "include": [
        "src/**/*.ts",
        "node_modules/@grapecity/spread-sheets-angular/dist/gc.spread.sheets.angular.ts"
      ]
    

    Regards

    Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels