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 08cd5c7 commit 0f9f8e2Copy full SHA for 0f9f8e2
src/installer/stages/platformio-core.js
@@ -202,7 +202,11 @@ export default class PlatformIOCoreStage extends BaseStage {
202
if (code === 0) {
203
return resolve(stdout);
204
} else {
205
- return reject(`Virtualenv Create: ${stderr}`);
+ let userNotification = `Virtualenv Create: ${stderr}`;
206
+ if (stderr.includes('WindowsError: [Error 5]')) {
207
+ userNotification = `If you use Antivirus, it can block PlatformIO Installer. Try to disable it for a while.\n\n${userNotification}`;
208
+ }
209
+ return reject(userNotification);
210
}
211
212
);
0 commit comments