Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Node sub dependency not resolving #399

Open
emilygarner opened this issue Dec 24, 2024 · 0 comments
Open

[BUG] Node sub dependency not resolving #399

emilygarner opened this issue Dec 24, 2024 · 0 comments

Comments

@emilygarner
Copy link

The deno-slack versions

"deno-slack-hub/": "https://deno.land/x/[email protected]/",
"deno-slack-sdk/": "https://deno.land/x/[email protected]/",
"deno-slack-api/": "https://deno.land/x/[email protected]/",

Deno runtime version

deno 2.1.4 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2

OS info

ProductName: macOS
ProductVersion: 14.3
BuildVersion: 23D56
Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000

Describe the bug

One of my slack functions is not running after deployment. On "slack run" it works perfect, but after deploying my workflow to slack it will not run. I get the following error:
Function output: Caught error from user supplied module: TypeError: Relative import path "querystring" not prefixed with / or ./ or ../ If you want to use a built-in Node module, add a "node:" prefix (ex. "node:querystring").
This error is strange because I am not using querystring anywhere in my program, so I believe it is a sub dependency of another npm package I am using. However, even after adding "querystring : node:querystring" to my import map AND scopes, the problem still persists. Any help on this would be greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant