We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45b748 commit 86c51c6Copy full SHA for 86c51c6
packages/cli/src/commands/bundle/package-manager.ts
@@ -241,7 +241,7 @@ export async function downloadPackages(
241
// Extract package to proper node_modules structure
242
// Use environment variable for cache location (Docker-friendly)
243
const cacheDir =
244
- process.env.NPM_CACHE_DIR || path.join(process.cwd(), '.npm-cache');
+ process.env.NPM_CACHE_DIR || getTmpPath(undefined, 'cache', 'npm');
245
await withTimeout(
246
pacote.extract(packageSpec, packageDir, {
247
// Force npm registry download, prevent workspace resolution
0 commit comments