Open ahashmi10 opened 1 month ago
Thank you for opening this issue, we will look into it.
Which CLI command is this issue related to?
Which CLI command is this issue related to?
swa deploy --deployment-token=$dev_deployment_token --env=production
Above is not Azure CLI command.
@yonzhan This is what I came across "The error message you're seeing is due to an incompatibility between the code in the @azure/static-web-apps-cli package and the version of Node.js you are using (v20.2.0). The with {type: 'json'} syntax is not supported in Node.js v20.2.0."
what's your take on this ?
Describe the bug
I have a pipeline in bitbucket in which I am building a react v20 app to be deployed on Azure Static Web App. Although the code compiles successfully but when we install Azure CLI usinf NPM i command and than try to deploy the compiled artifacts to the SWA using the deployment token we face an error.
Related command
Errors
swa deploy --deployment-token=$dev_deployment_token --env=production
<1s
Node.js v20.2.0
Issue script & Debug output
N/A
Expected behavior
N?A
Environment Summary
N/A
Additional context
Please help me in resolving this issue as my new build is dependent on it