implementing swagger in deno typescript with deno_swagger_doc on deno.land. it throws error.

error: Uncaught (in promise) Error: Cannot find module './isomorphic.node' var e = new Error("Cannot find module '" + id + "'"); ^ at _nullRequire (https://dev.jspm.io/npm:@jsdevtools/ono@7.1.3!cjs:179:11) at https://dev.jspm.io/npm:@jsdevtools/ono@7.1.3!cjs:189:27
DAH
Deno AI Helper41d ago
I wasn't able to find the answer to your question in the official Deno documentation. However, based on the error message you've provided, it seems like there might be an issue with a module import. The error indicates that the module './isomorphic.node' cannot be found. This could be due to several reasons, such as the module not being present at the specified path, or it might be a Node.js-specific module that isn't compatible with Deno out of the box. Deno does not use the Node.js module resolution system, and it does not support the .node file extension, which is typically used for native addons in Node.js. Please note that this advice is not based on the Deno documentation, and I would advise you to double-check the accuracy of the advice given. If you're using a third-party library like deno_swagger_doc, make sure that it's compatible with Deno and doesn't rely on Node.js-specific features or modules. You might also want to check if there's an alternative Deno-compatible library for Swagger documentation or if there's a way to configure the existing library to work with Deno's module system.