diff --git a/packages/core/src/projects/index.ts b/packages/core/src/projects/index.ts index 3f2325e1e1..20137012c4 100644 --- a/packages/core/src/projects/index.ts +++ b/packages/core/src/projects/index.ts @@ -612,7 +612,8 @@ export const versionCheck = async (c: RnvContext) => { return true; } c.runtime.rnvVersionRunner = c.files.rnv?.package?.version || 'unknown'; - c.runtime.rnvVersionProject = c.files.project?.package?.devDependencies?.rnv || 'unknown'; + c.runtime.rnvVersionProject = + c.files.project?.package?.devDependencies?.rnv || c.files.project?.package?.dependencies?.rnv || 'unknown'; logTask( `versionCheck:rnvRunner:${c.runtime.rnvVersionRunner},rnvProject:${c.runtime.rnvVersionProject}`, chalk().grey