Swyftey
Swyftey
Explore posts from servers
DDeno
Created by Swyftey on 11/4/2024 in #help
Deno 2.0 can't find .pem files even with --allow-read?
I think they needed to be .der files. That might've been it.
3 replies
DDeno
Created by Swyftey on 11/4/2024 in #help
Deno 2.0 can't find .pem files even with --allow-read?
Update: I needed to use import.meta.dirname I believe, but now I am getting this error:
Fastify startup error: DataError: ASN.1 error: unknown/unsupported ASN.1 DER tag: 0x2d
tokens | at importKeyRSA (ext:deno_crypto/00_crypto.js:3747:58)
tokens | at importKeyInner (ext:deno_crypto/00_crypto.js:3585:14)
tokens | at SubtleCrypto.importKey (ext:deno_crypto/00_crypto.js:989:26)
tokens | at file:///tokens/src/Services/TokenService.ts:16:50
tokens | at eventLoopTick (ext:core/01_core.js:175:7)
Fastify startup error: DataError: ASN.1 error: unknown/unsupported ASN.1 DER tag: 0x2d
tokens | at importKeyRSA (ext:deno_crypto/00_crypto.js:3747:58)
tokens | at importKeyInner (ext:deno_crypto/00_crypto.js:3585:14)
tokens | at SubtleCrypto.importKey (ext:deno_crypto/00_crypto.js:989:26)
tokens | at file:///tokens/src/Services/TokenService.ts:16:50
tokens | at eventLoopTick (ext:core/01_core.js:175:7)
3 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
@/usr/bin/cat It's not a Deno issue after all, it's a Next.JS issue with Chrome/browser extensions. Remove any chrome extensions you may not need or find and remove/disable the one interfering with the page.
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
Fixed!
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
Also, every time the command runs to install the project, the last message claims that there is a new version of create-next-app available which I have installed already (it keeps showing).
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
I do know that sometimes it takes a second or two for the error to show, or you have to refresh in order to see it (the red error indicator at the bottom left).
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
No description
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
I'm not sure. I just use the command to create a new project and run "dev".
11 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
So sorry! I completely forgot about this
11 replies