D
Deno

help

Reason for "Following modules were not evaluated"

EExidex7/21/2023
What is the reason for "Following modules were not evaluated; make sure they are imported from other code". As far as I can tell it requires me to add esm_entry_point if my deno extension has esm files. Why cant I add esm and use it later in side module and not in entry point? or am I missing something?
EExidex7/22/2023
to elaborate more: why in this case https://github.com/denoland/deno/pull/19125/files it is required to have esm_entry_point?
GitHub
fix(runtime): Example hello_runtime panic by yzy-1 ยท Pull Request #...
After commit f34fcd, running example will panic because esm_entry_point is not set. Closes #19127
Bbartlomieju7/22/2023
If you are snapshotting there must be an entry point. You can use it "later" - all files passed to extension must be evaluated before snapshot is created Oh sorry - it should have been you can't use it "later"
EExidex7/23/2023
so my esm_entry_point file will just import all modules and not do anything in it? seems redundant
Bbartlomieju7/23/2023
You have to explicit import all the files you list in esm configuration in your esm_entry_point - otherwise you will get this panic. Yes, it's a bit redundant, but it's a sanity check that you don't snapshot some files that don't get used.
EExidex7/23/2023
makes sense

Looking for more? Join the community!

Recommended Posts
discordav.deno.dev not working nowIm using discordav.deno.dev for get the discord profile picture from id. It was working yesterday buKV: What to return from here?```TS // Create City router.post('/cities', async (context) => { const data = await context.requLog Deno.command process outputi need to execute a command wich will keep running until stopped and log the output. i found this buUncaught TypeError: Cannot set properties of null (setting 'innerHTML')Code: var bcb = new WebSocket('wss://stream.binance.com:9443/ws/bnbusdt@trade'); bcb.onmessage = (It's hard to read that the font used in the official Deno website.On the official Deno website (deno.land), I think it difficult to distinguish between upper and lowePetition to free the module x/type from deno.landHere is the module url: https://deno.land/x/type It says it would be deleted after 30 days but has Docs on understanding how Fresh works under the hood.I want to start becoming a contributor for Fresh, I have been looking at PRs and reading documents wNode MongoDB Driver on Deno dropping connection and crashing processHeya folks. I am encountering the most recent error described in this thread https://github.com/denoHow to solve "cannot be invoked without 'new'" thrown from an NPM module ?Hello, An NPM module (which I don't own) uses `call` on something, which throws a `cannot be invokeCoverage with subprocessOne of my tests involves spawning a subprocess. Is there any way to get this subprocess to participaHow to exclude folder from deno lintI use WebStorm. How to exclude specific folder from deno lint? Is it possible in WebStorm? It is posTypeScript compiler type declarationsI'm using `import ts from "npm:typescript"` to work with the TypeScript compiler, but how do I get t[ignore] configuring botNothing to see here, ignore for now ๐Ÿ™‚Reuse Deno.serve for other TCP connectionsHello, As a newcommer to Deno, I wrote a client for NNTP protocol (https://github.com/sntran/deno_n