A TypeScript sample app for the Retrieval Augmented Generation pattern running on Azure, using Azure AI Search for retrieval and Azure OpenAI and LangChain large language models (LLMs) to power ChatGPT-style and Q&A experiences.
MIT License
252
stars
130
forks
source link
Scripts `index-data` can't read the Node.js path correctly, when running `azd up` on Windows #141
Describe the issue:
After running azd up, click web link to ask question on Windows, get error as follow:
By checking the logs of azd up, it was found that there were error logs causing the above issue.
Through investigation, it was found that the installation path of nodejs cannot be read normally. For Windows environment, nodejs is installed in the folder Program Files by default. This folder name contains spaces, which causes a reading error.
Repro Steps:
Run azd auth login
Run azd init -t azure-search-openai-javascript
Run azd up
Environment:
OS: Windows
Expected behavior:
Run azd up can pass without error logs.
Describe the issue: After running
azd up
, click web link to ask question on Windows, get error as follow: By checking the logs ofazd up
, it was found that there were error logs causing the above issue.Through investigation, it was found that the installation path of
nodejs
cannot be read normally. ForWindows
environment,nodejs
is installed in the folderProgram Files
by default. This folder name contains spaces, which causes a reading error.Repro Steps:
azd auth login
azd init -t azure-search-openai-javascript
azd up
Environment:
Expected behavior: Run
azd up
can pass without error logs.@sinedied and @charris-msft for notification.