web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

e-commerce Yarn Build failing with error Cannot read properties of undefined (reading 'has')

(0) ShareShare
ReportReport
Posted on by

We have recently seen an issue where yarn build is failing with error Cannot read properties of undefined (reading 'has'). This is caused because of a external dependency "glob" that released a breaking change, To mitigate this issue, please add a resolution for glob version 7.2.0 in the package.json file of your deployable package

pastedimage1652600339900v1.png

Update:

Glob has released a newer package 7.2.3 which fixes the issue introduced by 7.2.2. With this change, you no longer need to add the resolution for 7.2.0

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Thanks for your sharing.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 239 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 132 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans