D
Deno

help

Cannot find module

OOlyno12/23/2023
Hi vmathi I'm trying to run a project with Deno, but i'm getting "Cannot find module" with the npm prefix. The code is working correctly, simply the extension won't work correctly. Any idea how i could fix it please?
No description
NNeTT12/23/2023
reload the workspace
OOlyno12/23/2023
Already done, i reloaded vscode but still have this issue for some reasons. I did a simple reload, but also closed and reopened vscode I'm on Fedora 39 if it can help
NNeTT12/23/2023
is deno enabled for the workspace? the deno extension
OOlyno12/23/2023
Yes it is
NNeTT12/23/2023
weird then coz it seems like a ts error deno will give a different error "Uncached or missing npm module" check again if Deno is enabled
OOlyno12/23/2023
It is 🤔
No description
OOlyno12/23/2023
Except if now, enabling an extension on a specific workspace does not work anymore 🤔
NNeTT12/23/2023
isn't it disabled if "enable" shows up? also by "enable" I mean enable for one workspace ctrl + shift + p type deno in that you'll see "Deno: Initialize workspace configuration" or something like that
OOlyno12/23/2023
Oh i'm just a dumbass, i forgot we had to initialize the workspace 🤦‍♂️ 😂 This solves the issue, thank you!
NNeTT12/23/2023
you're welcome

Looking for more? Join the community!

Recommended Posts
Uncaught error during deno deploy of vite appWhen creating a new vite app with vue and typescript I get this error message. This error is reprodDeno, TypeScript, ESBuild, WebGL, VSCodeHello! As the title suggests, I am using these technologies to create a web application: * Deno * TPossible issue with re-export compatibility with NodeIn https://github.com/japa/runner/issues/35, I have described an issue where Deno seems to be incompMake deno.serve handler asynchronousHow can i make the Deno.serve handler asynchronous? or like make it so that it can execute asynchronWhy my place.x -= 5 not working?At this part if(moveKey.right.pressed) { finishPostion += 5 quota exceededi hit the free limit tonight and upgraded to pro 20 minutes ago— when do my sites stop erroring withDeploying WASM via Deno Deploy Github ActionsHello, I'm trying to deploy a Leptos project that serves a .wasm bundle for the frontend, and uses Get only the first records with deno kv but reversed orderedI'm using Deno KV to store articles. Generating the ID for the articles: ``` export function generaerror: Uncaught (in promise) SyntaxError: Invalid regular expression flagsAfter Updating my fresh to latest version I got following error ``` deno task start Task start deno third party module repo changeI'm the author of a third party deno module: https://deno.land/x/streamdal_protos@v0.0.126. My comDeno.serve get full path instead of only params and urlI need to get params from an url like this `http://localhost:8000/auth#token_type=Bearer&access_tokeSend custom response inside error event listenerIf I add an event listener for errors in Deno to catch anything my middleware error handler doesn't,assertThrows() limitationsassertThrows() seems to only filter on class name and message. Is there an assert function for checkLSP/VSCode stops workingI'm having issues in my fresh project time to time it stops working and I have to restart it or vscoCan the listeners for messages from Deno Deploy Queues timeout?Can the listeners for messages from Deno Deploy Queues timeout like Vercel serverless functions? AreHow to get the path to the compiled binary?`import.meta.url` and `Deno.mainModule` are used to get the current script, but after a binary is crHow to get `require.main.filename` like Node as DenoI am making a module to be published on deno.land/x. I want the user to put a file describing the coChange Web Worker Permissions after the Worker StartedHello, I was wondering if it is possible to change/update the permissions of a web worker after it Missing transpiled source codeI'm trying to generate coverage for my project and I'm getting the following: ``` deno task coverageTrouble validating a requestHi there! I'm trying to validate a Discord HTTP request, but I don't know how to do it (https://disc