lordlinus / Enterprise-ChatGPT

A sample app using Azure Cognitive Search for retrieval and Azure OpenAI models to power ChatGPT-style and Q&A experiences.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static Web App link not working

neo475269 opened this issue · comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

(✓) Done: Resource group: rg-syn-demo-dev
(✓) Done: App Service plan: plan-xwtavkyub7lgs
(✓) Done: Form recognizer: cog-fr-xwtavkyub7lgs
(✓) Done: Storage account: stxwtavkyub7lgs
(✓) Done: Azure OpenAI: cog-xwtavkyub7lgs
(✓) Done: Search service: gptkb-xwtavkyub7lgs
(✓) Done: Storage account: daagz6s2pzwfmazfunctions
(✓) Done: Function App: func-xwtavkyub7lgs
(✓) Done: Static Web App: stapp-xwtavkyub7lgs
Executing postprovision hook => .\scripts\deploy.ps1
Environment variables set.
ERROR: Static site was 'stapp-xwtavkyub7lgs' not found in subscription.

[Survey] Help us improve Azure CLI by sharing your experience. This survey should take about 5 minutes. Run 'az survey' to open in browser. Learn more at https://go.microsoft.com/fwlink/?linkid=2203309

Welcome to Azure Static Web Apps CLI (1.1.3)

error: option '-d, --deployment-token ' argument missing
Can't find app with name "func-xwtavkyub7lgs"
Deployment completed.

Executing predeploy hook => C:\Users\Thomas\AppData\Local\Temp\azd-predeploy-422896759.ps1

added 129 packages, and audited 130 packages in 30s

10 packages are looking for funding
run npm fund for details

5 vulnerabilities (4 moderate, 1 high)

To address issues that do not require attention, run:
npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run npm audit for details.

backend@0.0.0 build
tsc && vite build

vite v4.2.1 building for production...
✓ 1266 modules transformed.
dist/index.html 0.48 kB
dist/assets/github-fab00c2d.svg 0.96 kB
dist/assets/index-cfa45d73.css 8.53 kB │ gzip: 2.38 kB
dist/assets/index-4cbea365.js 651.26 kB │ gzip: 213.15 kB │ map: 5,168.13 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:

Deploying services (azd deploy)

SUCCESS: Your application was provisioned and deployed to Azure in 11 minutes 45 seconds.

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 11

Versions

Mention any other details that might be useful

The deployment completed successfully. However, the static web app link is not working. (Log above). What have we missed?

Second question, how to deploy the web app locally? Thanks!


Thanks! We'll be in touch soon.

Solved after manually login az