Sitrius
EDSEthan's dev spot
•Created by Sitrius on 2/10/2024 in #questions
Using React components ?
Hello, I was wondering if it was possible to use react components in the BETH stack?
For example I would like to use the Autocomplete from "material-ui", do I have to make it from scratch?
As BETH stack is using JSX but not React, it seems I have this kind of errors: Type 'Element' is not assignable to type 'ReactNode'
Thanks in advance
5 replies
EDSEthan's dev spot
•Created by Sitrius on 10/26/2023 in #questions
VSCode extension list BETH
Hello, as a Python developer I am mostly a noob with things like typescript, npm ...
For Python I have tons of extensions for things such as auto completion, linting and formatting ...
I heard in the first BETH video of Ethan some VSC extensions that have been cited.
Is there a place I can find a full list of extensions that could work together for the BETH stack?
Currently my VSC is incorrectly underlying a bit everything. I might not be the only one interested in such a list.
4 replies
EDSEthan's dev spot
•Created by Sitrius on 10/23/2023 in #questions
bun db:push -> server response: 404
Hello, I'm trying to learn the BETH stack but at the beginning when doing "bun db:push" I get a 404 error.
I'm really a noob with those technologies, if someone could indicate me if I did an obvious mistake, it would be very helpful!
bun db:push
$ bunx drizzle-kit push:sqlite
No config path provided, using default path
Reading config file '/home/sitrius/Documents/projects/patrisk/drizzle.config.ts'
drizzle-kit: v0.19.13
drizzle-orm: v0.28.6
43324 | code;
43325 | constructor(message, code, cause) {
43326 | if (code !== void 0) {
43327 | message =
${code}: ${message};
43328 | }
43329 | super(message, { cause });
^
LibsqlError: HRANA_WEBSOCKET_ERROR: Unexpected server response: 404
code: "HRANA_WEBSOCKET_ERROR"
at new LibsqlError (/home/sitrius/Documents/projects/patrisk/node_modules/drizzle-kit/index.cjs:43329:8)
at mapHranaError (/home/sitrius/Documents/projects/patrisk/node_modules/drizzle-kit/index.cjs:48441:11)
at /home/sitrius/Documents/projects/patrisk/node_modules/drizzle-kit/index.cjs:48575:16
at processTicksAndRejections (:61:76)
error: script "db:push" exited with code 1 (SIGHUP)
6 replies