Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

Migration Tool for new JavaScript API

$
0
0

I am attempting to run the Migration Tool to migrate from the Bridge API to the new JavaScript API. I can not seem to get it to run. I have followed the instructions and suspect the issue is with sending the correct parameters for my project. After q fair amount of trial and error, I am using the following command:

C:\vsphere-client-sdk-6.7.U1Virgo\html-client-sdk\tools\API migration tool>npm run -s migrate generateMigrationFile -- --project='C:/workspace/Personal/vSphereNewAPI/TsmVMwareHTML5' --migrationFile=apiMigrate.txt

I get the following:

The project ''C:/workspace/Personal/vSphereNewAPI/TsmVMwareHTML5' does not exist.

I've also tried reversing the directory slashes:

C:\vsphere-client-sdk-6.7.U1Virgo\html-client-sdk\tools\API migration tool>npm run -s migrate generateMigrationFile -- --project='C:\workspace\Personal\vSphereNewAPI\TsmVMwareHTML5' --migrationFile=apiMigrate.txt

I've also tried adding the project to the tools directory adn using a relative path.. same error.

What is the correct format to pass in a directory on Windows?


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>