-
Notifications
You must be signed in to change notification settings - Fork 3
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
[QUERY] How to deploy with npm module dependencies? #89
Comments
Hey @oeed 👋 Thank you for sharing this detailed report, and sorry you're bumping into this! To me it seems like your imports are alright, but this issue is appearing with bundling attempts. Going to move this issue to the slackapi/deno-slack-hooks repo for closer tracking 🔖
It's super interesting that the dependencies of Similar issues around bundling strangeness with |
Has there been any movement or work arounds for this issue? We are running into a similar problem but with
|
Sorry, no update. We are not prioritizing this class of issues at this time. If you have feedback about this, or wish for Slack to prioritize it, please email [email protected] and/or use the |
I was able to get "scopes": {
"https://deno.land/x/[email protected]/": {
"https://deno.land/x/[email protected]/mod.ts": "jsr:@luca/[email protected]"
}
}, Looking at recent commits, it appears a similar update (with more sweeping changes) has been made since the last release. Perhaps this is solved by cutting a new release? |
Question
I am trying to use an npm module as there is no native Deno equivalent. I am trying to convert GitHub markdown to Slack's custom markdown format (if there's another way to do this please let me know!).
This works perfectly locally with
slack run
. However, when deploying I get a bunch of errors fromdeno_esbuild
relating to resolving sub-dependencies. For example:The strange thing is, it seems to resolve direct dependencies of
slackify-markdown
such asremark-gfm
okay, but not their dependencies. Additionally, all the dependency files are indeed in the Deno cache folder, so I don't know why it's not resolving them. I haven't used Deno before so apologies if this is obvious!Environment
The
deno-slack
versionsdeno_slack_sdk: 2.12.0
deno_slack_api: 2.4.0
Deno runtime version
CLI: 2.26.0
deno: 1.44.4
typescript: 5.4.5
v8: 12.6.228.9
OS info
macOS 14.5
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: