D
Deno

help

NPM package randomly broke

LLukas10/5/2023
I've been using the imagekit package for my fresh project, and it's been working fine since I installed it. For some reason, now whenever I run deno task start it outputs a bunch of errors:
No description
LLukas10/5/2023
feel free to look over the changes I made that seems to be causing this: https://github.com/Wave-Studio/Events/commit/90e089cfc62e154b72b0fa9f2a0e17e9220b7223
LLukas10/5/2023
I'll take another look at it tmrw but I cannot pinpoint what the issue is
LLukas10/5/2023
LLukas10/5/2023
for anyone that wants to look through this error log, here it is: https://hastebin.com/share/menaloneki.bash
Hastebin
Hastebin is a free web-based pastebin service for storing and sharing text and code snippets with anyone. Get started now.
DAHDeno AI Helper10/5/2023
I'm sorry to hear that you're having trouble with the imagekit package. However, without more specific information about the errors you're encountering, it's difficult for me to provide a precise solution. Here are a few general debugging steps you can take: 1. Check the error messages: The error messages can provide clues about what's going wrong. They might point to a specific line of code or a specific operation that's failing. 2. Check the package version: Make sure you're using a version of the imagekit package that's compatible with your current version of Deno. You can check the package version in your package.json file. 3. Check your permissions: Deno is secure by default, meaning it doesn't have access to things like the network or the file system unless you explicitly grant it. If the imagekit package needs to access these things, you'll need to run your script with the appropriate flags (like --allow-net or --allow-read). 4. Try reinstalling the package: Sometimes, issues can be resolved by simply reinstalling the package. You can do this by deleting the package from your package.json file, running deno cache --reload to clear Deno's cache, and then reinstalling the package. 5. Check if the package uses Node.js-specific APIs: Deno is not completely compatible with Node.js. If the imagekit package uses Node.js-specific APIs, it might not work correctly in Deno. The documentation states that Deno has a compatibility layer for some Node.js APIs, but it's not complete. If none of these steps help, could you please provide more details about the errors you're seeing? That would help me assist you better. 馃
LLukas10/5/2023
GitHub
Strange Errors On Start 路 Issue #1856 路 denoland/fresh
This just randomly started showing up when I run my fresh site, i'm not sure where to start. It seems to have something to do with the NPM packages being used by some supporting deno modules. L...
LLukas10/6/2023
seems like it had to do with use camalCase for a file name. wierd

Looking for more? Join the community!

Recommended Posts
subpackage imports with npm specifierse.g. `import colors from "npm:tailwindcss/colors"` currently fails, is this not supposed to work? SIs it possible to use Cache-Control headers to control Deno's cacheI've seen via an issue ( https://github.com/denoland/deno/issues/16296 ) that Deno stores its metadaDeno Deploy Queue trouble in productionI'm encountering an issue with Deno Queue in my Deno Deploy project, and I'm hoping to get some guidDeno compile target errorHello, I am trying to compile a Deno api using `deno --unstable ./path/to/api/index.ts --output ./paHow to avoid the method POST to executed in the URL I am redirected to?How to avoid the method POST to executed in the URL I am redirected to? routes/admin/login.tsx ```thow to use Untar without deprecated functions?`Untar` from std/archives requires an instance of `Reader` - apparently most functions return some RHelp, does the middleware example in the Deno Fresh documentation not work for anyone else?I tried to follow the example in Deno Fresh about middlewares, but it doesn't work, the content `ctxDeno Cache locationHello, I am trying to cache my dependencies during the compile action using Github Actions, where doHow to build rusty_v8 with old v8 version?Hello all ! I am trying to build rusty_v8 (https://github.com/denoland/rusty_v8) with an old versionCan someone explain WebSocketStream to me?Whenever I try to connect using WebSocketStream and the host doesn't respond, my program inevitably deno doc: error: fp-tsthat's pretty much all I have :/ Running `deno doc Server.ts` only yields `error: fp-ts`. Can I enabI want to add my package xmlbuilder2 to deno.landBut somebody already added it, albeit with his own forked repository (now non-existent, thus unusablCache imports in deno.jsonIs there a way to cache imports defined in deno.json? I am hoping to avoid additional deps.ts file.typescript type definition for deno.jsonDoes it exist, and where can I get it?Publishing (and configuring) the webhook for deno.land from monorepoThanks in advance for your help! I went through the setup on https://deno.com/add_module for my jupLooking for a Dev who is well-versed in Fast-Delivery of building front-end pages using React.js forLooking for a Dev who is well-versed in Fast-Delivery of building front-end pages using React.js for