cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
navin22
Microsoft
Microsoft

Trouble shooting pac solution clone

Hi Team,

 

I am trying to get my solution clone into source control. And I am trying to use 

following command 

 

 

pac solution clone --name SolutionName

 

 

And I get below error.

What am I missing here? what value is null and how to get this detail, but as is when I try to export from the portal it works fine.

 

Error: Value cannot be null.
Parameter name: path2

Usage: pac [auth] [help] [org] [pcf] [plugin] [solution] [telemetry]

  auth                        Manage how you authenticate to various services
  help                        Show help for the Microsoft PowerApps CLI
  org                         Work with your CDS Organization
  pcf                         Commands for working with PowerApps component framework projects
  plugin                      Commands for working with CDS plugin class library
  solution                    Commands for working with CDS solution projects
  telemetry                   Manage telemetry settings

 

3 REPLIES 3
danvarga
Microsoft
Microsoft

Hi @navin22 

 

Did you try to follow these steps https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls? This could be a problem into Visual Studio solution.

Actually this solution was not created with the pac solution command. It was developed in the environment directly now I want to save to source control using pac solution clone? Is that doable.

rajyraman
MVP

@navin22 - I am not getting this behaviour in CLI v1.3.6 which is the latest version. Try running pac install latest and confirm that you are using the latest version.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,874)