D
Deno

help

import { Eta } from "https://deno.land/x/eta@v3.0.3/src/index.ts" results in error

SSokeriHiiri2/6/2024
Error message: "error trying to connect: invalid peer certificate: NotValidYet." Is there a problem with the SSL certificate?
LLeokuma2/6/2024
Wild guess: is the date in your machine set correctly?
SSokeriHiiri2/6/2024
Thanks but I checked and it is.
LLeokuma2/6/2024
I'm able to import that here without any problems. Maybe your Deno installation is using a client certificate?
SSokeriHiiri2/6/2024
Good to know. I'll continue testing.
LLeokuma2/6/2024
You can try deno run --unsafely-ignore-certificate-errors main.ts. It's unsafe though
SSokeriHiiri2/7/2024
I'm still puzzled. I can only import Eta with command line option --unsafely-ignore-certificate-errors. But I can import Hono etc, without any problems. Well, IDK but I just needed to go to https://deno.land/x/eta@v3.1.0/src/index.ts with the browser and now eta is imported without probs. If someone can explain, I'm all ears/eyes. 😆

Looking for more? Join the community!

Recommended Posts
A syantax error which I can not decodeI have attached 2 screenshots, describing the issue, i am using this api: https://docs.abstractapi.cdeno-core adding 40mb overheadWe recently migrated to deno-core from mini_v8 and realized a major increase in the size of the releGetting errors while using puppeteer in deno environmentHere is my code(supabase edge function index.ts): ```import puppeteer from "https://deno.land/x/pupNon-ascii characters not showing in subject field using Deno SMTPWhen using the smtp library non-ascii characters show up fine in the body. But if included in the heDefault Lint RulesIs there a list of the lint rules that are applied by default. When I look at the documentation it mErrors with mocking & testing in supabase edge function running on deno.Hi everyone - I am sincerely hoping you can save me from pulling out all my hair with this. At my Errors Deploying Fresh ProjectI am new to Deno and working through the Fresh tutorial. I have reached the deployment section: httRun all test in sub-folderHey guys - day one deno newby here. Incredibly inspired by what I've been able to achieve on my firsRead source code contentIs there a way to read the current source code of the a given a file URL (using `import.meta.url`) wDanet create is stuck at databaseWhat am I supposed to do to choose postgres?Working around imports without a file extensionI'm facing an apparent contradiction between the requirements for importing modules, and the import deno runtime extensions seems to be not workingthe example provided here https://github.com/denoland/deno/tree/main/runtime/examples/extension_withcant set up vscode language serveri got some error from the initialization of the language server: ```Starting Deno language server...Choose level for std loggerI have some loggers configured using the `setup` function from `std/log`. This way levels are hard-cfolks running into this wiered issue on deploythe deployment is continuously failingfolks running into this wiered issue on deploy the deployment is continuously failing was working fiProblem with the npm package and vite/esbuildhttps://github.com/denoland/denokv/issues/64 Is there a solution to this problem? Has anyone been ab