I'm following this article step by step to create and run a React based PCF: https://learn.microsoft.com/en-gb/training/modules/build-power-apps-component/introduction
When I get to the step to run "npm run build" I get the following error:
Error: Plugin "@microsoft/power-apps" was conflicted between ".eslintrc.json" and ".....eslintrc.json".
Any idea what's happening and what to do about this?
I got the same error and the top .eslintrc file was in the folder directly preceding the folder I was trying to run the PCF from.
@SiN_1 did this post help resolve your issue? If so, please mark the solution for future forum visitors to see!
The error says it all. NPM thinks it's building a project at some level, but is finding two eslintrc.json files: one in the same directory as where it is trying to build, the other somewhere deeper. I'm guessing you've tried initializing a couple PCFs in the same folder structure as you're exploring the capabilities and somehow you've just set up something that is confusing npm.
Start a new folder, NOT inside one of your current testing folders, init your PCF there, and then build.
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1