Notifications
Announcements
Unable to build any PCF controls on my machine ,
getting the error [11:22:28] [build] Initializing...[11:22:28] [build] Validating manifest...[11:22:28] [build] Validating control...[11:22:29] [build] Running ESLint...[11:22:29] [build] Generating manifest types...[pcf-scripts] [Error] encountered unexpected error:TypeError: Cannot create property 'pos' on string 'IInputs'
I'm getting the same error since 17th of April. Any luck?
I had the same problem. I was missing typescript as a dev dependency. "npm i -D typescript" fixed it for me.
Had the same issue today, seemed to be a TypeScript 5 issue. Also fixed by npm install --save-dev typescript@4
I solved the error by creating a brand new pcf project for it and it worked
I was able to solve this by running
npm i -D typescript msbuild /t:restore msbuild /t:rebuild /restore /p:Configuration=Release
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268