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 ada73f9 commit 695ddb9Copy full SHA for 695ddb9
lib/npm/node-platform.ts
@@ -108,7 +108,7 @@ by esbuild to install the correct binary executable for your current platform.`)
108
}
109
if (isYarnPnP) {
110
const esbuildLibDir = path.dirname(require.resolve('esbuild'));
111
- const binTargetPath = path.join(esbuildLibDir, 'yarn-pnp-' + path.basename(subpath));
+ const binTargetPath = path.join(esbuildLibDir, `pnpapi-${pkg}-${path.basename(subpath)}`);
112
if (!fs.existsSync(binTargetPath)) {
113
fs.copyFileSync(binPath, binTargetPath);
114
fs.chmodSync(binTargetPath, 0o755);
0 commit comments