Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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)

  • Verified answer
    PaddyWann Profile Picture
    101 on at
    Re: [pcf-1065] [Error] ESLint validation error:

    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"
        }
    }
  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: [pcf-1065] [Error] ESLint validation error:

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 44 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard