Azure / Azure/static-web-apps-cli

UX: Visual Studio Publish feature should not require manual Node installation

Aperta
#725 1 commento 1 reazione 1 assegnatario Rivendicata da @Reshmi-Sriram Vedi su GitHub
Lingua principale
TypeScript
Stelle
668
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Are you accessing the CLI from the default port `:4280` ?**

- [ ] No, I am using a different port number (`--port`) and accessing the CLI from that port
- [ ] Yes, I am accessing the CLI from port `:4280`
- [x] N/A

> Make sure you are accessing the URL printed in the console when running `swa start`!

N/A

**ℹ️ NOTE: Make sure to enable debug logs when running any `swa` commands using `--verbose=silly`**

N/A

**Describe the bug**
When I use Publish feature in Visual Studio it is a very poor user experience that I have to manually install NodeJS and in it manually install SWA CLI. Visual Studio already comes with NodeJS distribution with few packages installed. It is totally unclear why the feature requires a separate NodeJS/NPM installation. I am not a NodeJS developer. Neither Node, nor NPM are my tools and I only hear about them in forums/social networks.

**To Reproduce**
Steps to reproduce the behavior:

Prereq: there's no system-wide NodeJS installation, and neither node.exe nor npm are in PATH.

1. In Visual Studio publish a web site, and choose a Static Web App resource as a target
2. Hit Publish

**Expected behavior**

My .html page with a few .js files should publish

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.