lazi
lazi
WWasp-lang
Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
I ended up hosting it on Fly/Netlify directly 😄
18 replies
WWasp-lang
Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
I'm kind of a noobie when it comes to networking - i'm simply running proof-of-concept prototypes and wanted to share with the team
18 replies
WWasp-lang
Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
Yep, different ports should do! I think the problem was that - i only have a single network interface
18 replies
WWasp-lang
Created by lazi on 9/11/2024 in #🙋questions
Locally hosting two wasp projects at once
@kapa.ai well, the ports are certainly already taken but wasp start did not fail at all
18 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
Oh sweet
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
[ Server!] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [ Server!] npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead [ Server!] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported [ Server!] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported [ Server!] npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead [ Server ] Yup, still not done installing. [ Server!] npm error Exit handler never called! [ Server!] npm error This is an error with npm itself. Please report this error at: [ Server!] npm error https://github.com/npm/cli/issues [ Server!] npm error A complete log of this run can be found in: /home/lazi/.npm/_logs/2024-07-25T08_02_22_455Z-debug-0.log ✅ --- Successfully completed npm install. ---------------------------------------- 🐝 --- Setting up database... ----------------------------------------------------- wasp-bin: /mnt/o/XXXXXXXXX/XXXXXXXXX/XXXXXXXXX/node_modules/.bin/prisma: streamingProcess: exec: invalid argument (Bad file descriptor) Okay - I've manged to replicate it on a fresh install of embeddings. I can send you the log files in a private DM to analyze :D. As for the node_modules above the project, I couldn't find any. Node version 22.5.0
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
Will come back to this tomorrow and try to reproduce on my end and give the info 😄
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
as for this i also managed to make it work - it was a problem on my end's account (it used pods and needed the upgraded account). Worked in the end
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
the workaround with installing prisma manually, even though it might not be the good route, worked. I'm not working on aything critical, just prototyping some tools for myself at the moment
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
the error above is from the fresh install of saas
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
So - I haven't really tried doing anything fancy, just setting up the examples on my machine so i can try around. As for the project zip, it's basically what's generated with nothing added. I've tried embeddings and the ask-the-document project. Just now i've tried setting up opensaas but i get the same problem
[ Server ] Yup, still not done installing. [ Server!] npm error Exit handler never called! [ Server!] npm error This is an error with npm itself. Please report this error at: [ Server!] npm error https://github.com/npm/cli/issues [ Server!] npm error A complete log of this run can be found in: /home/lazi/.npm/_logs/2024-07-18T10_30_54_674Z-debug-0.log ✅ --- Successfully completed npm install. ---------------------------------------- 🐝 --- Setting up database... ----------------------------------------------------- wasp-bin: /mnt/o/XXXXXX/Lexa/app/node_modules/.bin/prisma: streamingProcess: exec: invalid argument (Bad file descriptor)
Wasp version is 0.14.0 It's more likely a problem with my environment, not wasp for sure. I'm trying this through WSL (ubuntu 24.04). @martinsos
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
@kapa.ai node:internal/modules/esm/resolve:210 const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified); ^ Error: Cannot find package
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
Hmmm i can't get it to generate embeddings into the db
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
@kapa.ai [ Db ] [cause]: Error: getaddrinfo ENOTFOUND controller.us-east-1.pinecone.io [ Db ] at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { [ Db ] errno: -3008, [ Db ] code: 'ENOTFOUND', [ Db ] syscall: 'getaddrinfo', [ Db ] hostname: 'controller.us-east-1.pinecone.io' [ Db ] } [ Db ] } [ Db ] }
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
@kapa.ai Error generating embeddings: PineconeConnectionError: Request failed to reach Pinecone. This can occur for reasons such as incorrect configuration (environment, project id, index name), network problems that prevent the request from being completed, or a Pinecone API outage. Check your client configuration, check your network connection, and visit https://status.pinecone.io/ to see whether any outages are ongoing.
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
@kapa.ai , what about wasp-bin: /mnt/o/Prezi/node_modules/.bin/prisma: streamingProcess: exec: invalid argument (Bad file descriptor)
37 replies
WWasp-lang
Created by lazi on 7/17/2024 in #🙋questions
Building SDK error
Worked via manual installation ! Thanksies bot
37 replies
WWasp-lang
Created by lazi on 5/21/2023 in #🙋questions
Q&A with Embeddings & GPT
More or less yes. I'll be using the above code to process my documents locally (as I don't need to do the embedding call every time), obtain the embeddings file then store the embededFile.txt inside my app (is just public data so no need for any encryption or safety stuff). I need to use this file that processes the completion - or to be more exact, its functions and logic - ( https://github.com/tsensei/QueryGPT/blob/main/completion.js ) inside a generic GptPage (like the one in the saas kit) and use the embeddings (already processed) in my gpt call. I just have no idea how could I turn that .js file into actions or what steps I have to follow to integrate it properly. I've tried some stuff using GPT-4 but failed miserably. The code provided was meant to work in console.
3 replies