Closed volsh-smart-it closed 2 months ago
Do you have Node installed? That's required, per the local setup guide here: https://github.com/Azure-Samples/azure-search-openai-demo?tab=readme-ov-file#local-environment
Please open a new issue if you still have an error after installing Node. Thanks!
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
(x) Failed: Packaging service backend
ERROR: error executing step command 'package --all': failed packaging service 'backend': failed invoking event handlers for 'prepackage', 'prepackage' hook failed with exit code: '1', Path: 'C:\Users\volsh\AppData\Local\Temp\azd-prepackage-4040297706.ps1'. : exit code: 1, stdout: , stderr: npm: C:\Users\volsh\AppData\Local\Temp\azd-prepackage-4040297706.ps1:4 Line | 4 | cd ../frontend;npm install;npm run build | ~~~ | The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the | spelling of the name, or if a path was included, verify that the path is correct and try again.
Expected/desired behavior
I want my app with RAG deployed
OS and Version?
Windows 10
azd version?
azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)
Versions
Mention any other details that might be useful