Azure-Samples / contoso-real-estate

Intelligent enterprise-grade reference architecture for JavaScript, featuring OpenAI integration, Azure Developer CLI template and Playwright tests.
MIT License
858 stars 512 forks source link

fix(strip): fix major deps issues #416

Closed manekinekko closed 7 months ago

manekinekko commented 9 months ago

All services are working again!

Closes #386

image

image

xingsy97 commented 8 months ago

Hi @manekinekko , I encountered deployment issues using this PR, could you please take a look?

Reproduce Steps

  1. Create a code space using the button in the beginning of README

  2. Run npm install, npm run start

  3. Then I see many error logs. I found the issue is triggered in the command npm run start:services". Due to the max length limit of VSCODE terminal, I executenpm run start:services > log.txt` to save the complete log attached here

  4. For I failed to deploy the local version, I deploy it to Azure following accroding to here The online Azure version seems working well.

  5. After deploying it to Azure, I run npm run start again in Codespace. The error log in Step 3 disappeared. However, the API service doesn't work.

    • Visit the "Forwarded Address" of "Portal App", F12 open developer tool, all api requests return 404.
    • In codespace, run wget "http://localhost:7071/api/listings. It also returns 404
manekinekko commented 7 months ago

I am working in fixing these conflicts.