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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

TS7006: Parameter 'item' implicitly has an 'any' type in node modules (Microsoft Dynamics Commerce)

(1) ShareShare
ReportReport
Posted on by 4
Hi experts,
I've a microsoft dynamics commerce project (react+ts). Project was working fine earlier. I've just clone the project from git and it gives me error to upload node version to 18. I updated the node version and also updated all the packages by using following commands
**yarn msdyn365 upgrade-webpack
yarn msdyn365 update-versions module-library
yarn msdyn365 update-versions retail-proxy
yarn msdyn365 update-versions sdk**
i re-installed my node modules by adding the command **yarn**.
but i'm getting errors
**ERRORS:**
ERROR in node_modules/@msdyn365-commerce-modules/checkout/src/modules/checkout/components/get-line-items.tsx:392:77
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/checkout/src/modules/checkout/components/get-line-items.tsx:393:74
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/checkout/src/modules/checkout/components/get-line-items.tsx:402:55
TS2345: Argument of type 'unknown' is not assignable to parameter of type 'CartLine[]'.
ERROR in node_modules/@msdyn365-commerce-modules/order-management/src/common/utilities.ts:131:76
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/order-management/src/common/utilities.ts:132:79
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/order-management/src/common/utilities.ts:133:74
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/order-management/src/common/utilities.ts:135:24
TS7006: Parameter 'item' implicitly has an 'any' type.
ERROR in node_modules/@msdyn365-commerce-modules/order-management/src/common/utilities.ts:151:28
TS2571: Object is of type 'unknown'.

THIS IS THE ISSUE, I'M UNABLE TO CREATE THE PACKAGE OF MY PROJECT BY USING THIS COMMAND **yarn msdyn365 pack**
I have the same question (0)
  • CU17030547-0 Profile Picture
    5 on at
    Hi!

    May I ask if this was resolved?
    I'm facing the exact same error after upgrading

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April 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... 139 Super User 2026 Season 1

#1
André Arnaud de Calavon Profile Picture

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

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 112 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans