Find answers from the community

Updated last year

found 0 vulnerabilities

found 0 vulnerabilities
PS C:\Users\MSI\chatbot_llama\frontend> npm run dev

chatbot_llama@0.1.0 dev
NEXT_PUBLIC_CHAT_API=http://localhost:8000/api/chat next dev

'NEXT_PUBLIC_CHAT_API' is not recognized as an internal or external command,
operable program or batch file.
PS C:\Users\MSI\chatbot_llama\frontend>


I've tried reinstalling create_llama i didn't get the option of chat engine but still i went anyway but now I'm getting this error
L
s
2 comments
I see you are using powershell or some windows terminal

That line it is erroring on is setting an env variable, but in your terminal, that is not the way to set env variables

You can edit the "dev" command in the package.json, but tbh I would advise using WSL for running on windows, makes life easier πŸ™‚
Add a reply
Sign up and join the conversation on Discord