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 fd4b3bf commit 6f5cfdeCopy full SHA for 6f5cfde
scripts/postinstall.js
@@ -20,7 +20,7 @@ const hasElectron = fs.existsSync(electronPath);
20
if (hasElectron) {
21
console.log('🔧 Electron detected - rebuilding node-pty for Electron...');
22
try {
23
- execSync('npx @electron/rebuild -f -m node_modules/node-pty', {
+ execSync('npx @electron/rebuild -f -m . --only node-pty', {
24
stdio: 'inherit',
25
cwd: path.join(__dirname, '..')
26
});
0 commit comments