web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Getting "eslint" error when building PCF Control

(1) ShareShare
ReportReport
Posted on by 102

Hello,

I am getting below error/warming while building the PCF control.

pastedimage1674475867456v1.png

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

Error:  ESLint validation error.

Anyone facing the same problem?

Thanks!

I have the same question (0)
  • Verified answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hi Vinit,

    Try the node_modules folder and package-lock.json file and run npm install to re-install your dependencies or change the TypeScript version to 4.8.4

  • Verified answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    Please try to change dev dependencies with below values:

    "devDependencies": {
    
        "@microsoft/eslint-plugin-power-apps": "^0.2.6",
    
        "@types/node": "^18.8.2",
    
        "@types/powerapps-component-framework": "^1.3.4",
    
        "@types/react": "^16.8",
    
        "@typescript-eslint/eslint-plugin": "^5.39.0",
    
        "@typescript-eslint/parser": "^5.39.0",
    
        "eslint": "^8.24.0",
    
        "eslint-plugin-import": "^2.26.0",
    
        "eslint-plugin-node": "^11.1.0",
    
        "eslint-plugin-promise": "^6.0.1",
    
        "pcf-scripts": "^1",
    
        "pcf-start": "^1",
    
        "typescript": "^4.8.4"
    
      }

  • Vinit_Bhagat Profile Picture
    102 on at

    Thank you, Naveen and Pradeep. It worked for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans