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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

IMPORTANT: Breaking build coming with update to e-Commerce online SDK package version 1.37 with support for Node 16.x

(3) ShareShare
ReportReport
Posted on by Microsoft Employee

If you are currently building the Dynamics 365 Commerce e-commerce extension package using the online SDK then this notice is important as it will require an update to Node 16.x on your development environment and any build pipelines you may be using.

Coming in April (currently targeting April 18th-22nd) the online SDK package will update to version 1.37.  Due to Node.js deprecating support for version 12.x at the end of April, the SDK will be updated to support the latest version of Node.js version 16.x. 

After the package update has been published by Microsoft, when running "yarn msdyn365 pack", the latest SDK package will be downloaded and without updating Node.js to version 16.x you will see the following error message "The engine "node" is incompatible with this module. Expected version ">=16.x.x". Got "12.22.6"".  Updating to Node.js 16.x will make the error go away and the package should build without errors.  This will need to be done on local build environments and also any automated builds such as an Azure DevOps pipelines.

More information on setting up a development environment can be found here: Set up a development environment - Commerce | Dynamics 365 | Microsoft Docs.  Once the package is updated this doc will reflect the pre-requisite of Node.js 12.x.

thanks,

Sam

I have the same question (0)
  • WillWU Profile Picture
    22,363 on at

    Thank you for your sharing.

  • Sam Jarawan Profile Picture
    Microsoft Employee on at

    Just an update as of 4/27 the update is now live, so ensure you have Node 16.x installed to avoid this error.

    thanks,

    Sam

  • Nat J Profile Picture
    28 on at

    Hi,

    I have updated to node version 16 but now there seem to be ts errors in microsoft node_modules files

    i.e.

    ERROR in /node_modules/@msdyn365-commerce-modules/ratings-reviews/src/modules/reviews-list/components/review-card.tsx(75,13):

    TS2322: Type 'string | Date' is not assignable to type 'ReactNode'.

     Type 'Date' is not assignable to type 'ReactNode'.

       Type 'Date' is not assignable to type 'number'.

    ERROR in /node_modules/@msdyn365-commerce-modules/utilities/src/button/Button.props.ts(29,17):

    TS2694: Namespace 'React' has no exported member 'ReactType'.

    Is anyone else experiencing this or am I missing something? Is there a specific set of versions the linter should be on?

    The only way i can find to ignore these issues is by editing the tsconfig.json, however as that is autogenerated the changes wont last...

    Any suggestions would be greatly appreciated

  • commander Profile Picture
    Microsoft Employee on at

    Follow these steps

    1) Remove yarn.lock file

    2) Yarn cache clean

    3) Yarn

    4) yarn msdyn365 update-versions sdk

    There has been some type changes with react. if it still does not work, add this types/react and types/react-dom to Package.json under resolutions and try yarn, yarn msdyn365 pack after that

    "resolutions": {

       "@msdyn365-commerce/bootloader": "^1.0.0",

       "@msdyn365-commerce/core": "^1.0.0",

       "@msdyn365-commerce-modules/core-components": "^1.0.0",

       "axios": "^0.21.1",

       "@types/react": "16.9.0",

       "@types/react-dom": "16.0.11"

     },

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 149 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 102 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 90

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans