sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Node @infisical/sdk is not working with nodemon

Open edishu opened this issue 9 months ago • 1 comments

My code:

import { InfisicalClient, LogLevel } from "@infisical/sdk";

// Secret
const client = new InfisicalClient({
  clientId: "YOUR_CLIENT_ID",
  clientSecret: "YOUR_CLIENT_SECRET",
  logLevel: LogLevel.Error,
});

When I start this app with nodemon and ts-node. I get following error:

[nodemon] 3.1.0
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node -T src/index.ts`
  logLevel: LogLevel.Error,

edishu avatar May 15 '24 21:05 edishu