Azure / APICenter-Portal-Starter

Reference implementation of API Center portal for a web-based API discovery and consumption experience
https://learn.microsoft.com/en-us/azure/api-center/enable-api-center-portal
MIT License
21 stars 65 forks source link

Unable to deploy Azure API Center Portal using AZD #19

Closed sushantgujar0410 closed 2 months ago

sushantgujar0410 commented 3 months ago

Getting error message when tried to deploy API center to azure using AZD tool

'error executing step command 'deploy --all': failed deploying service 'staticapp-portal': failed deploying static web app: swa deploy: exit code: 1, stdout: , stderr: npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.'

inflight package has been deprecated. #https://www.npmjs.com/package/inflight

image (1)

justinyoo commented 3 months ago

@pierceboggan Would you please be able to take on this?

sthirthala commented 3 months ago

@sushantgujar0410 can you try deploying using Static Web apps as described here. And let me know if you still face issue.

https://github.com/Azure/APICenter-Portal-Starter?tab=readme-ov-file#manual-deployment-to-azure-static-web-apps

sthirthala commented 3 months ago

if the above does not work, I can setup a call

sushantgujar0410 commented 3 months ago

@sthirthala : I follow the steps mentioned https://github.com/Azure/APICenter-Portal-Starter?tab=readme-ov-file#manual-deployment-to-azure-static-web-apps It works locally as expected but when i tried deploy it to azure portal it throws above error.

sushantgujar0410 commented 3 months ago

if the above does not work, I can setup a call

I followed the instructions provided in the documentation, but unfortunately, it did not yield the desired results. Could we schedule a call at your convenience to discuss this further? Please note that I am located in the IST time zone. Thank you for your assistance.

sushantgujar0410 commented 3 months ago

@pierceboggan Would you please be able to take on this?

@justinyoo : can someone else investigate this matter? Thanking you in advance.

sushantgujar0410 commented 2 months ago

@juliajuju93 @juliamuiruri4 can you please help me here with this issue. thanks in advance.

pierceboggan commented 2 months ago

Hi - from following up with some folks offline, it seems this issue was resolved? I'm marking as closed, but if it's still happening please reopen and tag our team. Thank again for logging your feedback!