You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
To Reproduce
Steps to reproduce the behavior:
Import a npm package like this: import OpenAI from 'npm:openai';
slack deploy
Expected behavior
A clear and concise description of what you expected to happen.
Slack app should be deployed with npm packages.
Screenshots
If applicable, add screenshots to help explain your problem.
⠼ Packaging app for deploymenterror: npm specifiers have not yet been implemented for this subcommand (https://github.com/denoland/deno/issues/15960). Found: npm:/[email protected]
⠴ Packaging app for deploymentError bundling function file: translate
error: Uncaught (in promise) Error: Error bundling function file: translate
throw new Error(`Error bundling function file: ${fnId}`);
^
at createFunctionFile (https://deno.land/x/[email protected]/build.ts:82:13)
at eventLoopTick (ext:core/01_core.js:183:11)
at async validateAndCreateFunctions (https://deno.land/x/[email protected]/build.ts:39:5)
at async https://deno.land/x/[email protected]/build.ts:127:3
Check /home/user/.slack/logs/slack-debug-20231018.log for full error logs
🚫 error packaging project: Command for 'BuildProject' returned an error: exit status 1 (sdk_hook_invocation_failed)
Reproducible in:
Deno version: v1.37.2
Slack CLI version: v2.10.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Slack app can't be deployed with npm packages, because
deno bundle
doesn't support npm packages anddeno bundle
has been deprecated(https://docs.deno.com/runtime/manual/tools/bundler). Please use deno_emit instead ofdeno bundle
.Requirements (place an
x
in each of the[ ]
)**To Reproduce
Steps to reproduce the behavior:
import OpenAI from 'npm:openai';
slack deploy
Expected behavior
A clear and concise description of what you expected to happen.
Slack app should be deployed with npm packages.
Screenshots
If applicable, add screenshots to help explain your problem.
Reproducible in:
Deno version: v1.37.2
Slack CLI version: v2.10.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: