Skip to main content

Notifications

Community site session details

Community site session details

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

webpack 5 makes yarn msdyn365 pack fail

(1) ShareShare
ReportReport
Posted on by 2,063

Hi

When adding webpack 5 the building seams to be failing

Using the command : yarn msdyn365 upgrade-webpack  
Running all latest versions...
I see that package.json is filled with additional dependencies, and the only way to get it building again is to clean up package.json and remove some folders  
Is there something I have misunderstood ? Maybe upgrade to webpack 5 should not be done on 9.37+ environments ? 
  • nunomaia Profile Picture
    18 Moderator on at
    RE: webpack 5 makes yarn msdyn365 pack fail

    Webpack upgrade, sometimes can be a little “tricky”.

    Deleting files and recreating files it not an uncommon approach. Most of these filesor /folders ae safe to delete, since are not tracked in source control and yarn recreates them

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans