美味的小圓
美味的小圓2mo ago

Nestjs project hasn't been support for now?

I got the error message below when deploy my nestjs application, is nestjs hasn't been support for now? Or there is a way to deploy nestjs project to Deno deploy for now? Or this is a problem about a module (not nestjs) which can't run on Deno Deploy?
error: The deployment failed: UNCAUGHT_EXCEPTION

Error: This API is not supported in this environment
at Object.Module._extensions..node (node:module:790:21)
at Module.load (node:module:655:32)
at Function.Module._load (node:module:523:13)
at Module.require (node:module:674:19)
at require (node:module:801:16)
at load (file:///node_modules/.deno/node-gyp-build@4.8.2/node_modules/node-gyp-build/node-gyp-build.js:22:10)
at Object.<anonymous> (file:///node_modules/.deno/argon2@0.41.1/node_modules/argon2/argon2.cjs:7:32)
at Object.<anonymous> (file:///node_modules/.deno/argon2@0.41.1/node_modules/argon2/argon2.cjs:190:4)
at Module._compile (node:module:736:34)
at Object.Module._extensions..js (node:module:757:11)
error: The deployment failed: UNCAUGHT_EXCEPTION

Error: This API is not supported in this environment
at Object.Module._extensions..node (node:module:790:21)
at Module.load (node:module:655:32)
at Function.Module._load (node:module:523:13)
at Module.require (node:module:674:19)
at require (node:module:801:16)
at load (file:///node_modules/.deno/node-gyp-build@4.8.2/node_modules/node-gyp-build/node-gyp-build.js:22:10)
at Object.<anonymous> (file:///node_modules/.deno/argon2@0.41.1/node_modules/argon2/argon2.cjs:7:32)
at Object.<anonymous> (file:///node_modules/.deno/argon2@0.41.1/node_modules/argon2/argon2.cjs:190:4)
at Module._compile (node:module:736:34)
at Object.Module._extensions..js (node:module:757:11)
1 Reply
marvinh.
marvinh.2mo ago
Deploy is a serverless platform and doesn't support native addons. It supports running JS/TS and wasm only.