Announcements
While I'm trying to build my PCF component, I'm getting the following error:
Can't resolve 'fs'.
Why does this error arise? What is the fix to it?
@Hemanth
Hello,
It's a bit hard to say anything without the code. Show your code please, specifically the file that generates your error.
@navneet_singh- What are the packages in you package.json? I got this error only when I use some node specific package.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 531 Most Valuable Professional
Haque 261
Kalathiya 221 Super User 2026 Season 1