Blouflash
Blouflash
Explore posts from servers
NNuxt
Created by Blouflash on 1/18/2025 in #❓・help
Cannot compile
Package import specifier "#content/server" is not defined in package ../package.json imported from ../.nuxt/dev/index.mjs
4 replies
DDeno
Created by Blouflash on 1/11/2025 in #help
Deno cannot use ErrorEvent Type from @types/ws
The Error:
Cannot import type declaration files. Consider importing 'ws' instead of '@types/ws'.
import type { ErrorEvent } from "@types/ws";
Cannot import type declaration files. Consider importing 'ws' instead of '@types/ws'.
import type { ErrorEvent } from "@types/ws";
deno.json:
{
"name": "@blouflash/nimiq-rpc",
"version": "1.1.3",
"license": "MIT",
"exports": "./main.ts",
"imports": {
"@open-rpc/client-js": "npm:@open-rpc/client-js@^1.8.1",
"@types/node": "npm:@types/node@^22.10.5",
"@types/ws": "npm:@types/ws@^8.5.13"
}
}
{
"name": "@blouflash/nimiq-rpc",
"version": "1.1.3",
"license": "MIT",
"exports": "./main.ts",
"imports": {
"@open-rpc/client-js": "npm:@open-rpc/client-js@^1.8.1",
"@types/node": "npm:@types/node@^22.10.5",
"@types/ws": "npm:@types/ws@^8.5.13"
}
}
The Code:
import type { ErrorEvent } from "@types/ws";
import type { ErrorEvent } from "@types/ws";
1 replies
NNuxt
Created by Blouflash on 12/15/2024 in #❓・help
VS Code HTML color highlighting missing
No description
4 replies
NNuxt
Created by Blouflash on 12/1/2024 in #❓・help
Dynamic Routes Error
I get this error and I dont know whats wrong: [7:00:12 PM] ERROR Could not set inline route rules in ~/pages/tax/[address]/[fiat]/index.vue as it could not be mapped to a Nitro route.
5 replies
NNuxt
Created by Blouflash on 11/13/2024 in #❓・help
shared dir in Nuxt 4
Where should i put my shared folder that got implemented in Nuxt 3.14 in Nuxt 4. I get errors in the server that it cant find it.
4 replies
NNuxt
Created by Blouflash on 11/11/2024 in #❓・help
Nuxt get Site Url
Is this the correct way to et the site url / set the ogImage url?
ogImage: new URL('/obsidianstake.svg', nuxtApp.$nuxtSiteConfig.url).toString(),
ogImage: new URL('/obsidianstake.svg', nuxtApp.$nuxtSiteConfig.url).toString(),
8 replies
NNuxt
Created by Blouflash on 11/10/2024 in #❓・help
Empty nuxt-content-urls.json
I am using nuxt/content together with nuxt/sitemap to generate a xml file with all routes. However the content routes are not included in the sitemap s I debugged the sitemap and found out that the endpoint to fetch the sitemap for the content directory is returning an empty array even tho I have content pages.
8 replies
NNuxt
Created by Blouflash on 6/4/2023 in #❓・help
i18n Module Prerender fails
5 replies