sailpoint-oss / sailpoint-cli

The SailPoint Command Line Interface (CLI) makes it easy to interact with SailPoint's SaaS Platform in a programmatic way. Many functions that use to be accomplished through tools like Postman or from custom scripts can now be done directly on the command line with minimal setup.
https://developer.sailpoint.com/discuss
MIT License
25 stars 19 forks source link

[Bug] npm run pack-zip error on Windows #42

Closed fernando-delosrios-sp closed 1 year ago

fernando-delosrios-sp commented 1 year ago

This is the error npm run pack-zip throws when trying to pack the resulting files. All the process works well but it somehow complains about cp command, which does exist. This doesn't happen on MinGW64 environment but the generated zip name is wrong, name and version variables are not correctly expanded.

To Reproduce Steps to reproduce the behavior:

  1. Run npm run pack-zip

Expected behavior A zip file with the resulting connector code

Actual behavior Connector files are generated but not packed

Operating System (please complete the following information):

fernando-delosrios-sp commented 1 year ago

Please close. I'm migrating from MacOS to Windows and the connector project was created with an older version of sail. I updated package.json definition with the one defined by my sail binary and now it works.

Thanks.