cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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.

@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
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (94,239)