dmno-dev / dmno

Full-stack configuration & secrets. Batteries included.
https://dmno.dev
MIT License
157 stars 7 forks source link

[BUG]: Can't Setup Encrypted Vault #120

Closed rawkode closed 2 months ago

rawkode commented 3 months ago

dmno version

0.0.20

Steps to reproduce

bun add @dmno/encrypted-vault-plugin
bun run dmno plugin -p vault -- setup

What is expected?

Setup to work

What is actually happening?

bun run dmno plugin -p vault -- setup

? Which plugin instance? - vault   EncryptedVaultDmnoPlugin | root
34 |   });
35 |   const isReady = createDeferredPromise();
36 |   const errStack = new Error().stack.split("\n");
37 |   const packagePath = errStack[2].replace(/.* at file:\/\//, "").replace(/\/dist\/.*$/, "");
38 |   const packageJsonPath = `${packagePath}/package.json`;
39 |   const packageJsonStr = readFileSync(packageJsonPath, "utf-8");
                              ^
ENOENT: No such file or directory
   errno: -2
 syscall: "open"
   path: "    at module code (/home/rawkode/Code/src/github.com/RawkodeAcademy/RawkodeAcademy/projects/rawkode-academy/people-service/node_modules/@dmno/encrypted-vault-plugin/package.json"

System Info

No response

Any additional comments?

No response

rawkode commented 2 months ago

This was resolved by d3eaa3f6770947af831b14f6f5f1560dd99b3717