Base solution for your next web application
Open Closed

cannot find name 'abp' #8839


User avatar
0
ArturCorreia created

Hi

Downloaded latest and i have this issue, do you know a fix for it.

error - cannot find name 'abp'

export function getRecaptchaLanguage(): string { return new LocaleMappingService().map('recaptcha', abp.localization.currentLanguage.name); }

Thanks


2 Answer(s)
  • User Avatar
    0
    ArturCorreia created

    I have also tried to if any fix here (https://github.com/aspnetboilerplate/aspnetboilerplate/issues/5272) so i tried adding to the typeroots,do you know the correct way to do this? if this is the fix.

    "typeRoots": [ "../node_modules/@types", "..abp-web-resources/", "...index.d.ts"

    Thanks

  • User Avatar
    0
    maliming created
    Support Team

    hi Can you provide steps to reproduce the problem using the latest zero project?