Industrial
Industrial
Explore posts from servers
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
solid-app on  main [!+?] via .NET via  v22.5.1 via :snowflake: impure (nix-shell-env)
❯ ldd --version
ldd (GNU libc) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
solid-app on  main [!+?] via .NET via  v22.5.1 via :snowflake: impure (nix-shell-env)
❯ ldd --version
ldd (GNU libc) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
Looks like the wrong arch is detected by rollup
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ tom@huginn
▜███▙ ▜███▙ ▟███▛ ----------
▜███▙ ▜███▙▟███▛ OS: NixOS 24.11.20240823.ae815ce (Vicuna) x86_64
▜███▙ ▜██████▛ Host: StarLite (1.0)
▟█████████████████▙ ▜████▛ ▟▙ Kernel: Linux 6.6.46
▟███████████████████▙ ▜███▙ ▟██▙ Uptime: 6 days, 11 hours, 15 mins
▄▄▄▄▖ ▜███▙ ▟███▛ Packages: 1729 (nix-system)
▟███▛ ▜██▛ ▟███▛ Shell: fish 3.7.1
▟███▛ ▜▛ ▟███▛ Display (BOE0B36): 2160x1440 @ 60 Hz in 13″ [Built-in]
▟███████████▛ ▟██████████▙ DE: GNOME 46.4
▜██████████▛ ▟███████████▛ WM: Mutter (Wayland)
▟███▛ ▟▙ ▟███▛ WM Theme: Adwaita
▟███▛ ▟██▙ ▟███▛ Theme: Adwaita [GTK2/3/4]
▟███▛ ▜███▙ ▝▀▀▀▀ Icons: Adwaita [GTK2/3/4]
▜██▛ ▜███▙ ▜██████████████████▛ Font: Cantarell (11pt) [GTK2/3/4]
▜▛ ▟████▙ ▜████████████████▛ Cursor: Adwaita (24px)
▟██████▙ ▜███▙ Terminal: code 1.90.1
▟███▛▜███▙ ▜███▙ CPU: Intel(R) N200 (4) @ 3,70 GHz
▟███▛ ▜███▙ ▜███▙ GPU: Intel UHD Graphics @ 0,75 GHz [Integrated]
▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ Memory: 9,47 GiB / 15,47 GiB (61%)
Swap: Disabled
Disk (/): 93,55 GiB / 467,87 GiB (20%) - ext4
Disk (/run/media/tom/Data): 909,57 MiB / 937,62 GiB (0%) - ext4
▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ tom@huginn
▜███▙ ▜███▙ ▟███▛ ----------
▜███▙ ▜███▙▟███▛ OS: NixOS 24.11.20240823.ae815ce (Vicuna) x86_64
▜███▙ ▜██████▛ Host: StarLite (1.0)
▟█████████████████▙ ▜████▛ ▟▙ Kernel: Linux 6.6.46
▟███████████████████▙ ▜███▙ ▟██▙ Uptime: 6 days, 11 hours, 15 mins
▄▄▄▄▖ ▜███▙ ▟███▛ Packages: 1729 (nix-system)
▟███▛ ▜██▛ ▟███▛ Shell: fish 3.7.1
▟███▛ ▜▛ ▟███▛ Display (BOE0B36): 2160x1440 @ 60 Hz in 13″ [Built-in]
▟███████████▛ ▟██████████▙ DE: GNOME 46.4
▜██████████▛ ▟███████████▛ WM: Mutter (Wayland)
▟███▛ ▟▙ ▟███▛ WM Theme: Adwaita
▟███▛ ▟██▙ ▟███▛ Theme: Adwaita [GTK2/3/4]
▟███▛ ▜███▙ ▝▀▀▀▀ Icons: Adwaita [GTK2/3/4]
▜██▛ ▜███▙ ▜██████████████████▛ Font: Cantarell (11pt) [GTK2/3/4]
▜▛ ▟████▙ ▜████████████████▛ Cursor: Adwaita (24px)
▟██████▙ ▜███▙ Terminal: code 1.90.1
▟███▛▜███▙ ▜███▙ CPU: Intel(R) N200 (4) @ 3,70 GHz
▟███▛ ▜███▙ ▜███▙ GPU: Intel UHD Graphics @ 0,75 GHz [Integrated]
▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ Memory: 9,47 GiB / 15,47 GiB (61%)
Swap: Disabled
Disk (/): 93,55 GiB / 467,87 GiB (20%) - ext4
Disk (/run/media/tom/Data): 909,57 MiB / 937,62 GiB (0%) - ext4
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
Hmm, I get this: solid-app on  main [!+?] via .NET via  v22.5.1 via ❄️ impure (nix-shell-env) took 15s ❯ npm install @rollup/rollup-linux-x64-musl npm error code EBADPLATFORM npm error notsup Unsupported platform for @rollup/[email protected]: wanted {"os":"linux","cpu":"x64","libc":"musl"} (current: {"os":"linux","cpu":"x64","libc":null}) npm error notsup Valid os: linux npm error notsup Actual os: linux npm error notsup Valid cpu: x64 npm error notsup Actual cpu: x64 npm error notsup Valid libc: musl npm error notsup Actual libc: null npm error A complete log of this run can be found in: /home/tom/.npm/_logs/2024-08-25T11_17_56_304Z-debug-0.log
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
Let me try 🙂
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
Is there an official way of running WASM code in a SolidJS app?
10 replies
SSolidJS
Created by Industrial on 8/25/2024 in #support
Using WASM in Solid(Start)
I tried manually adding that package with bun add -D but get the same error.
10 replies
DDeno
Created by Industrial on 11/2/2023 in #help
Deno.serve().shutdown doesn't exist?
Ok, it works with unstable
7 replies
DDeno
Created by Industrial on 11/2/2023 in #help
Deno.serve().shutdown doesn't exist?
Seems like https://deno.land/[email protected]?s=Deno.serve returns a Deno.HTTPServer not a Deno.Server, which isn't available in the types in VSCode
7 replies
DDeno
Created by Industrial on 11/2/2023 in #help
Deno.serve().shutdown doesn't exist?
okay
7 replies
DDeno
Created by Industrial on 9/7/2023 in #help
Error running Apollo example (on latest version)
Actually, it's giving the same error with the example code/version
3 replies
DDeno
Created by Industrial on 9/7/2023 in #help
Error running program that uses `fp-ts` from npm (`Is a directory (os error 21)`)
I would rather use npm: going forward, seeing as it works on deno deploy now.
4 replies
DDeno
Created by Industrial on 9/7/2023 in #help
Error running program that uses `fp-ts` from npm (`Is a directory (os error 21)`)
It works with esm.sh
4 replies
DDeno
Created by Industrial on 6/5/2023 in #help
File Permissions on Deno.FileInfo
@jaboolo thanks!
5 replies
TtRPC
Created by Industrial on 4/24/2023 in #❓-help
Cannot find module '@trpc/react-query/server' or its corresponding type declarations
Updated the packages and now it works. Thanks!
13 replies
TtRPC
Created by Industrial on 4/24/2023 in #❓-help
Cannot find module '@trpc/react-query/server' or its corresponding type declarations
{
"private": true,
"name": "@code9/todo-web",
"version": "0.1.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "pnpm lint:tsc && pnpm lint:eslint",
"lint:eslint": "eslint --fix --cache .",
"lint:tsc": "tsc -p . --noEmit",
"pre-commit": "lint-staged",
"start": "next start"
},
"lint-staged": {
"*.{js,mjs,cjs,jsx,ts,tsx,json}": "pnpm lint"
},
"dependencies": {
"@emotion/cache": "^11.10.5",
"@emotion/css": "^11.10.6",
"@emotion/react": "^11.10.6",
"@emotion/server": "^11.10.0",
"@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.11.16",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.18.0",
"@trpc/next": "^10.18.0",
"@trpc/react-query": "^10.18.0",
"@trpc/server": "^10.18.0",
"clsx": "^1.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.3",
"superjson": "^1.7.4",
"zod": "^3.0.0"
},
"devDependencies": {
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"lint-staged": "^13.2.1",
"tsx": "^3.12.3",
"typescript": "^4.8.3"
}
}
{
"private": true,
"name": "@code9/todo-web",
"version": "0.1.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"scripts": {
"build": "next build",
"dev": "next dev",
"lint": "pnpm lint:tsc && pnpm lint:eslint",
"lint:eslint": "eslint --fix --cache .",
"lint:tsc": "tsc -p . --noEmit",
"pre-commit": "lint-staged",
"start": "next start"
},
"lint-staged": {
"*.{js,mjs,cjs,jsx,ts,tsx,json}": "pnpm lint"
},
"dependencies": {
"@emotion/cache": "^11.10.5",
"@emotion/css": "^11.10.6",
"@emotion/react": "^11.10.6",
"@emotion/server": "^11.10.0",
"@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.11.16",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.18.0",
"@trpc/next": "^10.18.0",
"@trpc/react-query": "^10.18.0",
"@trpc/server": "^10.18.0",
"clsx": "^1.1.1",
"next": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-query": "^3.39.3",
"superjson": "^1.7.4",
"zod": "^3.0.0"
},
"devDependencies": {
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"lint-staged": "^13.2.1",
"tsx": "^3.12.3",
"typescript": "^4.8.3"
}
}
13 replies
TtRPC
Created by Industrial on 4/24/2023 in #❓-help
Cannot find module '@trpc/react-query/server' or its corresponding type declarations
actually, it's described here: https://trpc.io/docs/nextjs/ssg
13 replies