Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonny Flanagan 34 posts 163 karma points
    Mar 01, 2018 @ 10:31
    Jonny Flanagan
    0

    Build:Cannot find name 'Record'. File: index.d.ts

    Hi all, In Visual Studio 2015 after I do a clean install of Umbraco 7.9.0 and then install Bootstrap 4.0.0 I am getting this error when ever I try to build the solution:

    "Build:Cannot find name 'Record'." The file is "index.d.ts" and error is on line 68 [name: string]: (BaseModifier & Record

    Please can someone advise how to remove this error or what versions are recommended? It appears that the "Record" variable is not defined in the index.d.ts file which is needed by the Popper function.

    Thanks in advance. Jonny

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Mar 12, 2018 @ 19:05
    Alex Skrypnyk
    100

    Hi Jonny

    Try to set my visual studio project to use the latest version of Typescript as per the link here: https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017

    Hope it helps!

    Alex

  • Jonny Flanagan 34 posts 163 karma points
    Mar 12, 2018 @ 21:02
    Jonny Flanagan
    0

    Yes that fixed it. Thanks Alex

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Mar 13, 2018 @ 08:26
    Alex Skrypnyk
    0

    You are welcome Jonny, glad that the topic is solved.

    /Alex

Please Sign in or register to post replies

Write your reply to:

Draft