Base solution for your next web application
Open Closed

Error in typescript version!(ASP.NET Core & Angular V5) #4260


User avatar
0
ramezani583 created

hi, I want build angular project. My typescript SDK version is :2.6.2.0

3 error are happens: 1: Error opening Win32 manifest file D:\src\shared\utils\chat-message.component.html -- Could not find a part of the path 2 : Error TS2339 (TS) Property 'value' does not exist on type 'number | (() => string) | ((...items: any[]) => number) | (() => any) | { (...items: ReadonlyArra...'. Property 'value' does not exist on type 'number'. src (tsconfig project) D:\Project\PhoneBook_V5\PhoneBook\angular\src\app\admin\tenants\create-tenant-modal.component.ts 75 Active

3: Error TS2339 (TS) Property 'isFree' does not exist on type 'number | (() => string) | ((...items: any[]) => number) | (() => any) | { (...items: ReadonlyArra...'. Property 'isFree' does not exist on type 'number'. src (tsconfig project) D:\Project\PhoneBook_V5\PhoneBook\angular\src\app\admin\tenants\create-tenant-modal.component.ts 93 Active


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    Hi

    Why there are 2 different paths

    D:\src\shared\utils
    D:\Project\PhoneBook_V5

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ramezani583,

    2.6.2 is not compatible with our solution, can you try 2.4.2 ?

  • User Avatar
    0
    ramezani583 created

    i remove typescript 2.6.2 and install 2,4,2 with "npm install [email protected]" command, but problem not resolved! do you have different way for install typescript 2.4.2?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ramezani583,

    Can you run the project using "npm start" comand ? You can change typescript version like this <a class="postlink" href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">https://github.com/Microsoft/TypeScript ... tudio-2017</a>.