static-web-apps-cli icon indicating copy to clipboard operation
static-web-apps-cli copied to clipboard

offline installation of swa cli will work ?

Open vivuu1989 opened this issue 1 year ago • 1 comments

we dont have direct connectivity to nodejs.org site from our Build agent linux machine and only Jfrog proxy repo for npm packages we are using.

We configured the jfrog settings on the repo to connect our build machine. But the "npm install -g @azure/static-web-apps-cli" is not working.

Is there any offline installation method for swacli ?

Our requirement is to run Azuredevops server pipeline to deploy the webapps. But we couldn't find the staticwebapp task in azuredevops server and also the swa cli offline installation of getting failed is failing.

vivuu1989 avatar Jun 03 '23 18:06 vivuu1989

Hi @vivuu1989, could you download swa-cli manually (clone this repo) and copy it to your agent linux machine? Then you can use "npm link ./" in the local path of swa-cli to use it globally. See developer.md.

cjk7989 avatar Jun 06 '23 09:06 cjk7989