microsoft / vscode-azurestaticwebapps

Azure Static Web Apps extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurestaticwebapps
MIT License
90 stars 35 forks source link

Create Static Web App command error: `staticWebApps.CreateStaticWebApp` not found #734

Closed craigshoemaker closed 1 year ago

craigshoemaker commented 2 years ago

I am getting a strange error when trying to create a new static web app with the extension.

Here's the steps I followed:

  1. Clone the repo (Vanilla Basic template repo)
  2. Open the project folder in Visual Studio Code
  3. F1
  4. Run: Azure Static Web Apps: Create Static Web App…

Then I get the following error:

image

Here's my system/version info:

SWA Extension

v0.11.2

Visual Studio Code

Version: 1.70.2 (user setup) Commit: e4503b30fc78200f846c62cf8091b76ff5547662 Date: 2022-08-16T05:35:13.448Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.22000

PC

Processor 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz 3.30 GHz Installed RAM 32.0 GB (31.8 GB usable) Product ID 00330-80000-00000-AA832 System type 64-bit operating system, x64-based processor Pen and touch Pen and touch support with 10 touch points

alexweininger commented 2 years ago

Strange indeed. I can't reproduce this. If you're still experiencing this issue, try reloading your VS Code, or uninstalling and reinstalling the extension.

sqeeshy commented 2 years ago

I got the same error. Fixed by updating VS Code to latest version (1.71.1 at the moment).