bme_vegas
bme_vegas
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
woot! ====== RESPONSE ====== ChatResponse { id = "chatcmpl-7tMd0jFf18jwUPx58YEkHZjOS9jLp" , object = "chat.completion" , created = 1693429378 , model = "gpt-4-0613" Looks like it's off to the races. So to use this wasp version with the web app - should I just do this: else { waspCliProcess = spawn("wasp", waspCliProcessArgs, { env: { ...process.env, waspc_datadir: undefined }, }); or is this good enough to? if (process.env.NODE_ENV !== "production") { waspCliProcess = spawn("wasp", waspCliProcessArgs); }
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
I upgraded my subscription and will try it again in just a bit, I'm expecting it to work. I had tried newai using the parameters from the errored output to no avail.
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
Apologies for the delay, looks like I just need to grab an API key ❌ --- [Error] Missing OPENAI_API_KEY environment variable: ----------------------- Wasp AI uses ChatGPT to generate your project, and therefore requires you to provide it with an OpenAI API key. You can obtain this key via your OpenAI account's user settings (https://platform.openai.com/account/api-keys). Then, add export OPENAI_API_KEY=<yourkeyhere> to .bash_profile or .profile, restart your shell, and you should be good to go.
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
curl -sSL https://get.wasp-lang.dev/installer.sh | sh -s -- -v 0.11.1-wasp-ai-11 I assume gets me a wasp that supports "new-ai" but doesn't seem to 😕
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
Where can I find this?
Another option is that you install AI capable version of wasp as per instructions provided in the FAQ
@martinsos
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
I have a penchant for rolling wheels up steep hills, so... Thanks for the pointers, I haven't worked much with wasp. I'm interested in seeing wasp-ai run locally and updating it to talk to Azure's OpenAI service to see how it compares.
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
No description
17 replies
WWasp-lang
Created by bme_vegas on 8/24/2023 in #🙋questions
WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT
[Server!] WASP CLI PROCESS ERROR Error: spawn wasp-cli ENOENT [Server!] at ChildProcess._handle.onexit (node:internal/child_process:283:19) [Server!] at onErrorNT (node:internal/child_process:476:16) [Server!] at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { [Server!] errno: -2, [Server!] code: 'ENOENT', [Server!] syscall: 'spawn wasp-cli',
17 replies