deno
deno copied to clipboard
A modern runtime for JavaScript and TypeScript.
Uncaught SyntaxError: The requested module './Reflect.ts' does not provide an export named 'Reflect'
I use deno v1.23.4 and [inject module](https://github.com/cmd-johnson/deno-dependency-injector). While I run the server I got this error: ``` error: Uncaught SyntaxError: The requested module './Reflect.ts' does not provide an export named...
New version of oak (v10.5.1) is crashing deno (v1.20.3) unlike the old version (v7.7.0) Command: ``` sudo RUST_BACKTRACE=1 /home/user/.deno/bin/deno run --allow-net --allow-read --allow-write --allow-run --unstable app.js ``` Output: ``` thread...
`serde_v8::Resource` is an "object wrap" around Rust allocated objects whose lifetime is managed by the V8 GC. Rust-side shared reference is managed with an `Rc`. Rust can reclaim ownership with...
command: ``` deno compile --target=x86_64-unknown-linux-gnu src/main.ts ``` output: ``` error: Could not compile: "src" is a directory. ```
The following code works fine with deno run but it will throws error after bundle. When I removed import map and import deno-dom directly to the file, it run successfully...
This issue tracks the progress of running the test cases of [mocha](https://github.com/mochajs/mocha) repository. ### `test.node` category - [x] run [nps](https://www.npmjs.com/package/nps) (task runner used in the repo) - [x] [find-up](https://www.npmjs.com/package/find-up) doesn't...
Below script gives: InvalidAccessError: baseKey usages does not contain deriveBit ```javascript const encoder = new TextEncoder(); const pass = encoder.encode('something') const key = await crypto.subtle.importKey( 'raw', pass, {name: 'PBKDF2'}, false,...
`deno check` appears to require `@jsxImportSource` pragma with `"jsx": "react-jsx"` in configuration
I've tested this on v1.21.2 and v1.22.0, both on macOS. Minimal example. Create these files an empty directory: ``` $ cat compile.jsonc { "compilerOptions": { "allowJs": true, "lib": ["DOM", "ES2020"],...
```js // foo.js console.log("foo!"); ``` In Deno: ``` deno run --inspect-brk foo1.js Debugger listening on ws://127.0.0.1:9229/ws/f2c0a704-297c-4dc0-a0f0-9e3911327c7c Debugger session started. foo ``` In Node.js: ``` node --inspect-brk foo.js Debugger listening on...
Printing a very long empty array to the console takes abnormally long? ```ts console.time();console.log(new Array(16777216*10));console.timeEnd() ``` run in deno ``` [ ] default: 7534ms undefined ``` ``` deno 1.21.3 (release,...