GreyKing
GreyKing•10mo ago

Help with Slack CLI Deployment

Sorry if this has already been answered, but I am trying to deploy my Slack app and I keep getting this error: "Node specifiers have not yet been implemented for this subcommand (https://github.com/denoland/deno/issues/15960). Found: node:assert". I have uninstalled all node deps and replaced my import statements with esm.sh links but this doesn't seem to have helped. Any ideas on next steps? Thank you in advance
GitHub
Issues · denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
1 Reply
Deno AI Helper
Deno AI Helper•10mo ago
I'm sorry to hear that you're having trouble deploying your Slack app. Based on the error message you're seeing, it seems like you're trying to use Node.js built-in modules with a node: specifier in your Deno project. According to the documentation, Deno Deploy natively supports importing built-in Node.js modules like fs, path, and http through node: specifiers. However, not all Node.js built-in modules are supported. For example, the child_process module does not provide any useful functionality due to the sandboxing behavior of Deno Deploy. The error message you're seeing suggests that the assert module, which is a Node.js built-in module, is not yet supported in the context you're trying to use it. As a workaround, you might want to consider using a Deno-compatible assertion library instead of the Node.js assert module. If you continue to encounter issues, it would be helpful to open an issue on the Deno GitHub repository, providing as much detail as possible about the problem you're experiencing. The Deno team is actively working on improving compatibility with Node.js and npm, and your feedback would be valuable in this process. 🦕