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
Answered

msdyn365 clone does not rename module

(2) ShareShare
ReportReport
Posted on by 78
Hi all.
I am experiencing an issue with the command "yarn msdyn365 clone header super-header".
 
I'm using
windows 10 x64
node v16.20.2
yarn v 1.22.22
 
and this is the error
 
 
I tried searching but couldn't find anything particularly useful.
I tried also with --verbose option but the log is the same.
 
From the error, i can suppose that maybe there are permission problem but I have no evidence to confirm this
 
Has anyone experienced the same problem and if so, how did they solve it?
 
Thank you in advance
I have the same question (0)
  • Verified answer
    NM-09101045-0 Profile Picture
    78 on at
    Hi all again. I found the cause of my issue.
     
    It was related to the VSCode extension "Angular Language Service". I stopped the execution, restarted the editor and the clone cmd works fine.
     
    To find the problem, I had to debug the cli js files, specifically the *\Msdyn365.Commerce.Online\node_modules\@msdyn365-commerce\cli-internal\distant\scripts\copy-module.js file and the renameCopiedModuleDirectories function.

    In the catch is the instruction utilities_internal_1.trace.error(`Error while renaming directory ${oldName}`, error); which does NOT correctly log the variable error.
     
    How can I report this bug (assuming it is one) to support (if it can be reported)?
     
    The moderator can consider this question closed

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

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 73 Super User 2026 Season 1

#3
Sagar Suman Profile Picture

Sagar Suman 54 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans