Basic Mocking example for `override global or imported objects` does not work
deno test --no-check
the example fails with:
```
getUserDetails formats the name correctly => ./service_test.ts:5:6
error: TypeError: Cannot assign to read only property 'getUserFromDB' of object '[object Module]'...Avoid newline at the end of Deno.stdout.(write/writeSync)
git clone <url>
and I want to print editable string in terminal so that I could replace the <url>
with the actual repo url.
```ts...Writing the whole buffer to stdout

What is the proper way to write crons in a Fresh project?
Deno.cron()
in the dependency tree of dev.ts
would halt the build process during deno deploy.
Is there a recommended way to add crons to a Fresh project?...Deno KV on deno deploy

Deno compile: LoadLibraryExW failed
Uncaught (in promise) TypeError: LoadLibraryExW failed
(attached screenshot) on running the compiled version (executable) with
Using drizzle w/ all permission enabled (-A)...
kv.watch() not working
for await (const entry of kv.watch([['chat']])) console.log(entry);
for await (const entry of kv.watch([['chat']])) console.log(entry);
Debugging tests with Vitest
vitest --inspect-brk --no-file-parallelism
should work just fine. So I tried:
deno run -A npm:vitest --inspect-brk --no-file-parallelism
deno run -A npm:vitest --inspect-brk --no-file-parallelism
Google OAuth2 flow with Deno Fresh
wich version i need to use of deno webview2 modules?
Using something like environment variables in fresh🍋
deno.json
already:
```json
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build"...Jsr modules with package.json
Uncaught (in promise) TypeError: Relative import path "@payloadcms/next/withPayload" not prefixed
Deno + Vite + devServer (SSR) issue with missing symbol
When to use deno add compared to import with a prefix?
import { parse } from "jsr:@std/csv/parse";
import { parse } from "jsr:@std/csv/parse";
on deno fresh or other deno frontend it takes at least 6 seconds for changes in the code to show up
deno+vite+tailwind
make
will run deno run -A --node-modules-dir npm:vite
. I get an error when running that command, complaining about the vite.config.ts
. Has anyone gotten deno + vite + tailwind working?...Is there any deno2+vue3 sample project?
The requested module 'npm:@jest/globals' does not provide an export named 'describe'
deno
.
So I have a folder, and in it I have two files (two-fer.ts
and two-fer.test.ts
):
...