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 / Error "Cannot resolve ...
Power Apps
Unanswered

Error "Cannot resolve 'fs' "

(0) ShareShare
ReportReport
Posted on by 13

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 

fs error.png
I have the same question (0)
  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    It's a bit hard to say anything without the code. Show your code please, specifically the file that generates your error.

  • RajYRaman Profile Picture
    270 on at

    @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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard