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!

  • Vinit_Bhagat Profile Picture
    Vinit_Bhagat 102 on at
    RE: Getting "eslint" error when building PCF Control

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

  • Verified answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,482 Super User 2025 Season 1 on at
    RE: Getting "eslint" error when building PCF Control

    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"
    
      }

  • Verified answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Getting "eslint" error when building PCF Control

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,403 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans