static-web-apps-cli
static-web-apps-cli copied to clipboard
offline installation of swa cli will work ?
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.
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.