Repository: deno
Issue: Loading @napi-rs/cli bindings in built npm package on windows / deploy
Labels: needs investigation,node compat,node native extension

Version: deno 1.42.4 (release, x86_64-pc-windows-msvc)

My personal cryptographic NPM package `npm:cas-typescript-sdk `that creates Rust bindings to a TS lib through @napi-rs/cli seems to be working fine on Debian in WSL. However, when running on Windows or attempting to deploy the project to deploy I get the following error(s).

Perhaps this is an error in the way I constructed my NPM package? I am not the most experienced with crafting NPM packages and Deno.

No rush or anything, Would be happy to help investigate the issue or possibly submit a PR if the issue is not with my lib. 

Windows  Error
```
error: Uncaught (in promise) TypeError: LoadLibraryExW failed
    at Object.Module._extensions..node (node:module:698:20)
    at Module.load (node:module:591:32)
    at Function.Module._load (node:module:486:12)
    at Module.require (node:module:603:19)
    at require (node:module:709:16)
    at Object.<anonymous> (file:///C:/Users/mtmul/AppData/Local/deno/npm/registry.npmjs.org/cas-typescript-sdk/1.0.16/lib/password-hashers/argon2-wrapper.js:4:17)
    at Object.<anonymous> (file:///C:/Users/mtmul/AppData/Local/deno/npm/registry.npmjs.org/cas-typescript-sdk/1.0.16/lib/password-hashers/argon2-wrapper.js:21:4)
    at Module._compile (node:module:653:34)
    at Object.Module._extensions..js (node:module:667:10)
    at Module.load (node:module:591:32)
```

Deploy Error
```
error: The deployment failed: UNCAUGHT_EXCEPTION

Error: Node API is not supported in this environment
    at Object.Module._extensions..node (node:module:697:20)
    at Module.load (node:module:590:32)
    at Function.Module._load (node:module:485:12)
    at Module.require (node:module:602:19)
    at require (node:module:708:16)
    at Object.<anonymous> (file:///node_modules/.deno/cas-typescript-sdk@1.0.16/node_modules/cas-typescript-sdk/lib/password-hashers/argon2-wrapper.js:4:17)
    at Object.<anonymous> (file:///node_modules/.deno/cas-typescript-sdk@1.0.16/node_modules/cas-typescript-sdk/lib/password-hashers/argon2-wrapper.js:21:4)
    at Module._compile (node:module:652:34)
    at Object.Module._extensions..js (node:module:666:10)
    at Module.load (node:module:590:32)
```

index.ts
```typescript
import { Application } from "https://deno.land/x/oak/mod.ts";
import router from "./router-one.ts";

const app = new Application();
app.use(router.routes());

await app.listen({ port: 8080 });
```

router-one.ts
```typescript
import { RouteParams, Router } from "https://deno.land/x/oak/mod.ts";
import { AESWrapper } from "npm:cas-typescript-sdk";

const router = new Router();

router.post("/testing", async (context) => {
  const body: TestingBody = await context.request.body.json();
  const aes = new AESWrapper();
  const nonce = aes.aesNonce();
  const key = aes.aes256Key();
  const encoder = new TextEncoder();
  const tohashBytes: Array<number> = Array.from(encoder.encode(body.email));
  const encrypted = aes.aes256Encrypt(key, nonce, tohashBytes);
  const decrypted = aes.aes256Decrypt(key, nonce, encrypted);
  const decoder = new TextDecoder();
  const decoded = decoder.decode(new Uint8Array(decrypted));
  context.response.body = decoded;
});

class TestingBody {
  public email!: string;
}

export default router;
```

Compiled TS file where the error points to
```javascript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Argon2Wrapper = void 0;
const index_1 = require("./../../index");
class Argon2Wrapper {
    hashPassword(password) {
        if (!password) {
            throw new Error("You must provide a password to hash with Argon2");
        }
        return (0, index_1.argon2Hash)(password);
    }
    verifyPassword(hashedPassword, passwordToVerify) {
        if (!hashedPassword || !passwordToVerify) {
            throw new Error("You must provide a hashed password and a plaintext password to verify with Argon2");
        }
        return (0, index_1.argon2Verify)(hashedPassword, passwordToVerify);
    }
}
exports.Argon2Wrapper = Argon2Wrapper;
```