diff --git a/src/utils.ts b/src/utils.ts index cfc2afcdc..4d11d8b70 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -331,7 +331,7 @@ export async function getVersions(request: CodeGeneratorRequest) { protocVersion = `v${major}.${minor}.${patch}`; } - const path: string = "../package.json"; + const path: string = "../../package.json"; const packageJson = await import(path); const tsProtoVersion = `v${packageJson?.version ?? "unknown"}`;