@@ -202,7 +202,7 @@ export async function requireOrDlx(
202202
203203 let status = 0
204204 if ( prefer === 'pnpm' ) {
205- const args = [ 'add' , spec , '--reporter' , 'silent' , '--no-frozen-lockfile' ]
205+ const args = [ 'add' , spec , '--reporter' , 'silent' ]
206206 status =
207207 spawnSync ( pnpmCmd , args , { cwd : cacheDir , stdio : 'ignore' } ) . status || 0
208208 } else if ( prefer === 'bun' ) {
@@ -237,7 +237,7 @@ export async function requireOrDlx(
237237 }
238238
239239 if ( prefer !== 'pnpm' ) {
240- const args = [ 'add' , spec , '--reporter' , 'silent' , '--no-frozen-lockfile' ]
240+ const args = [ 'add' , spec , '--reporter' , 'silent' ]
241241 status =
242242 spawnSync ( pnpmCmd , args , { cwd : cacheDir , stdio : 'ignore' } ) . status || 0
243243 }
@@ -248,10 +248,6 @@ export async function requireOrDlx(
248248 spawnSync ( bunCmd , args , { cwd : cacheDir , stdio : 'ignore' } ) . status || 0
249249 }
250250
251- if ( status !== 0 ) {
252- throw new Error ( `Failed to install ${ spec } ` )
253- }
254-
255251 let postInstallPkgJson : any
256252
257253 // If install reported success but the package.json is still missing,
0 commit comments