DenoDDeno
Powered by
RMkoR
Denoβ€’2y agoβ€’
6 replies
RMko

PermissionDenied while using ioredis npm package

Hello, I'm facing an issue with an npm library ioredis (https://github.com/redis/ioredis). For some reason, when I tried to initialize a new Redis client using this package, I received an
error: error: Uncaught PermissionDenied: Requires env access, run again with the --allow-env flag
error: error: Uncaught PermissionDenied: Requires env access, run again with the --allow-env flag
. No exact env variable is specified in the log. Yes, it works when I allow env globally, but for my system, I would like to avoid allowing all env variables. So, the question is, how can I check which env variables are accessed by this package, if any? How can I debug this issue and what should i put as allow env ?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

PEM Base64 Error while using mineflayer NPM Package
NexusNNexus / help
17mo ago
Using private npm package from github
tjoskarTtjoskar / help
2y ago
Local npm package
RevadikeRRevadike / help
11mo ago