Starts in:
3 DAYS
2 HRS
24 MIN
9 SEC
Starts in:
3 D
2 H
24 M
9 S
Open Closed

Angular app didn't build #5573


User avatar
0
mmarjeh created

I created a new project, but the angular app didn't work. I got the following error:

Error: node_modules/@volo/abp.ng.lepton-x.core/lib/directives/if-replaceable-template-exists.directive.d.ts:12:125 - error TS2344: Type '{ abpIfReplaceableTemplateExists: { alias: "abpIfReplaceableTemplateExists"; required: false; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"abpIfReplaceableTemplateExists"' is incompatible with index signature. Type '{ alias: "abpIfReplaceableTemplateExists"; required: false; }' is not assignable to type 'string'.

12 static ɵdir: i0.ɵɵDirectiveDeclaration<IfReplaceableTemplateExistsDirective, "[abpIfReplaceableTemplateExists]", never, { "abpIfReplaceableTemplateExists": { "alias": "abpIfReplaceableTemplateExists"; "required": false; }; }, {}, never, never, false, never>;

  • ABP Framework version: v7.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

3 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    I have tested and I couldn't produce any issue. I created an app with the code that below. Can you share your package.json please?

    abp new Support5573 -t app-pro -u angular -m none --database-provider ef -csf --version 7.3.2

    maybe lepton-x version and abp version did not match. I would check the lepton-x version. it must be "~2.3.0"

  • User Avatar
    0
    mmarjeh created

    Thanks for your advice.

    But the problem still exists.

  • User Avatar
    0
    mahmut.gundogdu created

    Thanks for your advice.

    But the problem still exists.

    But I need to more information about the issue. Could you share your steps for producing the issue ? If I re-create the issue, I can fix that.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06