Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux)
linux
What command did you run?
For context, I am using bun in place of nodejs. I dug deeper and it looks like the package uses childProcess to spawn the azcopy. I pulled this into my code to attempt to spawn the process manually and it fails with the same error. This may be an issue with bun? Although bun does support nodejs child_process.
azclient.copy()
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
When using the az client in node, it is unable to find the azcopy executable. The azcopy executable is installed as a node package and confirmed its in the node_modules folder.
How can we reproduce the problem in the simplest way?
Install the azcopy-node and azcopy-linux
Create a az client and attempt to run the copy command.
Have you found a mitigation/solution?
No, using the manual azcopy throws the same error. I am able to run 'azcopy' in the terminal just fine
Which version of the AzCopy was used?
10.23.0
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux)
linux
What command did you run?
For context, I am using bun in place of nodejs. I dug deeper and it looks like the package uses childProcess to spawn the azcopy. I pulled this into my code to attempt to spawn the process manually and it fails with the same error. This may be an issue with bun? Although bun does support nodejs child_process.
azclient.copy()
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
When using the az client in node, it is unable to find the azcopy executable. The azcopy executable is installed as a node package and confirmed its in the node_modules folder.
How can we reproduce the problem in the simplest way?
Install the azcopy-node and azcopy-linux Create a az client and attempt to run the copy command.
Have you found a mitigation/solution?
No, using the manual azcopy throws the same error. I am able to run 'azcopy' in the terminal just fine