diff --git a/packages/cli-config/src/loadConfig.ts b/packages/cli-config/src/loadConfig.ts index d252325cf..66af3d4bf 100644 --- a/packages/cli-config/src/loadConfig.ts +++ b/packages/cli-config/src/loadConfig.ts @@ -119,7 +119,10 @@ async function loadConfig( const dependencyMap = findDependencies(projectRoot); let dependencies = Array.from(dependencyMap.keys()); - if (userConfig.unstable_autolinkPeerDependencies) { + if ( + userConfig.unstable_autolinkPeerDependencies && + !process.argv.includes('config') + ) { const installedDependencies = await resolveTransitiveDeps( projectRoot, dependencyMap,