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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / [pcf-1065] [Error] ESL...
Power Apps
Answered

[pcf-1065] [Error] ESLint validation error:

(0) ShareShare
ReportReport
Posted on by 101

Hi, 

I'm beating my head against the screen getting the grid component in a zip folder. I added the field template of dataset, but on msbuild /t:rebuild /restore /p:Configuration=Release I consistently get this error and I've tried all the Eslint commands to restore things but it looks like it wants  somethingin the pcfproj file? Anybody?

 

 

C:\Users\patri\.nuget\packages\microsoft.powerapps.msbuild.pcf\1.28.2\build\Microsoft.PowerApps.MSBuild.Pcf.targets(100
,5): error : [pcf-1065] [Error] ESLint validation error: [C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\Pwr
AppSamples\component-framework\resources\GridCustomizerControlTemplate\Solutions\Solutions.pcfproj]
C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\PwrAppSamples\component-framework\resources\GridCustomizerCo
ntrolTemplate\Solutions\GridmdlE\index.ts
2:47 error 'PropertyHelper' is not defined no-undef

Γ£û 1 problem (1 error, 0 warnings)

C:\Users\patri\.nuget\packages\microsoft.powerapps.msbuild.pcf\1.28.2\build\Microsoft.PowerApps.MSBuild.Pcf.targets(100
,5): error MSB3073: The command "npm run build -- --noColor --buildMode development --outDir "C:\Users\patri\OneDrive\D
ocuments\GitHub\PowerAppsSample\PwrAppSamples\component-framework\resources\GridCustomizerControlTemplate\Solutions\out
\controls" --buildSource MSBuild" exited with code -1. [C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\PwrApp
Samples\component-framework\resources\GridCustomizerControlTemplate\Solutions\Solutions.pcfproj]
Done Building Project "C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\PwrAppSamples\component-framework\resou
rces\GridCustomizerControlTemplate\Solutions\Solutions.pcfproj" (rebuild target(s)) -- FAILED.


Build FAILED.

"C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\PwrAppSamples\component-framework\resources\GridCustomizerCon
trolTemplate\Solutions\Solutions.pcfproj" (rebuild target) (1:7) ->
(PcfBuild target) ->
C:\Users\patri\.nuget\packages\microsoft.powerapps.msbuild.pcf\1.28.2\build\Microsoft.PowerApps.MSBuild.Pcf.targets(1
00,5): error : [pcf-1065] [Error] ESLint validation error: [C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\P
wrAppSamples\component-framework\resources\GridCustomizerControlTemplate\Solutions\Solutions.pcfproj]
C:\Users\patri\.nuget\packages\microsoft.powerapps.msbuild.pcf\1.28.2\build\Microsoft.PowerApps.MSBuild.Pcf.targets(1
00,5): error MSB3073: The command "npm run build -- --noColor --buildMode development --outDir "C:\Users\patri\OneDrive
\Documents\GitHub\PowerAppsSample\PwrAppSamples\component-framework\resources\GridCustomizerControlTemplate\Solutions\o
ut\controls" --buildSource MSBuild" exited with code -1. [C:\Users\patri\OneDrive\Documents\GitHub\PowerAppsSample\PwrA
ppSamples\component-framework\resources\GridCustomizerControlTemplate\Solutions\Solutions.pcfproj]

0 Warning(s)
2 Error(s)

  • cchannon Profile Picture
    4,702 Moderator on at

    From inside an MSbuild operation, you won't see useful eslint error messages. Just give it an "npm run build" and the error message will be much clearer.

  • Verified answer
    PaddyWann Profile Picture
    101 on at

    I made my eslint file like this:

     
        "settings": {
            "react": {
              "version": "detect"
            }
          },
        "env": {
            "browser": true,
            "es2021": true
        },
        "extends": [
            "eslint:recommended",
            "plugin:@typescript-eslint/recommended",
            "plugin:react/recommended",
            "plugin:@typescript-eslint/eslint-recommended",
            "plugin:@typescript-eslint/recommended"
        ],
        "parser": "@typescript-eslint/parser",
        "parserOptions": {
            "ecmaVersion": "latest",
            "sourceType": "module"
        },
        "plugins": [
            "@typescript-eslint",
            "react"
        ],
        "rules": {
            "no-unused-vars": "off",
            "no-undef": ["warn"],
            "no-use-before-define": "off",
            "@typescript-eslint/no-unused-vars": "off",
            "@typescript-eslint/no-explicit-any": "off",
            "@typescript-eslint/no-use-before-define": ["error"],
            "react/prop-types":"off"
        }
    }

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard