SheikS
Denoβ€’17mo agoβ€’
3 replies
Sheik

Deno and NestJs

When trying to run the build of a NestJS application I get this error

[sheik@archlinux dist]$ deno --version
deno 1.46.3 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.5-rusty
typescript 5.5.2
[sheik@archlinux dist]$ deno run -A main.js
error: Uncaught (in promise) ReferenceError: exports is not defined
Object.defineProperty(exports, "__esModule", { value: true });
                      ^
    at file:///home/sheik/Documentos/project-name/dist/main.js:2:23
Was this page helpful?