Comments (2)
It's now at least reporting the affected file URL in the error log.
In my case it was file:///noop.js
which seems to be set here:
Lines 159 to 164 in d366cf7
require
strictly insists on relative path entries or npm package names, while deno
in general prefers URLs and absolute file location.
from deno.
I didn't find a way to reproduce this issue reliably. It's just happened when I utilized rather uncommon and perhaps invalid entries in the arguments to createRequire('file:///')
and require(...)
.
I close it for now, because it's not of much significance in practice.
from deno.
Related Issues (20)
- lsp: import suggestion imports `.d.ts` file as `.js` HOT 1
- Do not rely on Deno[Deno.internal].inspectArgs in 40_jupyter.js
- `deno publish --dry-run` does not have a non-zero exit code if there are non-supported HTTP imports but no slow types HOT 5
- Deno has panicked in resolvers/local.rs while resolving npm package HOT 3
- Precompiled JSX shouldn't preserve spaces
- 100% CPU usage HOT 5
- Support running scripts that contain `npm run` with `deno task`
- `expo start` hangs at `validateDependenciesVersionsAsync`
- Deno.bench, Deno.test in the same file break each other HOT 1
- `StatWatcher.unref` is not implemented
- `node:tty` Cannot read properties of undefined (reading 'Symbol(Deno.internal.rid)')
- `npm:[email protected]` not working correctly HOT 1
- Bug: LSP inserts duplicate `async` keyword when accepting suggestion HOT 2
- Bug: `deno fmt` doesn't format function arguments HOT 2
- node:fs `StatWatcher` is not implemented correctly
- Bug: `Deno.serve` prefers `gzip` over `br` compression for Chrome 123
- npm-compat: biome lsp-proxy not working HOT 3
- Deno LSP Cache resolution breaks JSR depending on how its getting cached HOT 1
- `deno bench` omits first group header if `--filter` is used
- maybe switch node process.kill to use rust HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.