Failed to start the electron application.
Error: EISDIR: illegal operation on a directory, realpath 'R:\Temp'
at Function.realpathSync.native (node:fs:2540:3)
at Function.native (node:electron/js2c/asar_bundle:5:4819)
at new IsTempSketch (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\is-temp-sketch.js:25:51)
at Object.resolveInstance (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:51:18)
at C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Array.map ()
at _injectProperties (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:17:57)
at Object.resolveInstance (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\instantiation.js:48:18)
at C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Object.resolve (C:\Program Files\Arduino IDE\resources\app\node_modules\inversify\lib\resolution\resolver.js:99:12) {
errno: -4068,
syscall: 'realpath',
code: 'EISDIR',
path: 'R:\Temp'
}
[10308:0708/205509.735:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Hi @chiduciot . Unfortunately there is a bug in Arduino IDE that causes this error when your system's temporary folder is located on a RAM drive. The Arduino IDE developers are tracking this bug here:
opened 06:32AM - 21 Jul 22 UTC
topic: code
type: imperfection
### Describe the problem
Win 11 with MSI install or UnZip to empty folder sta… rts main window with title bar. Splash persists and main window with no menu just persists until closed with spinning wait animation.
This will persist for hours without change or status feedback other than the spinning wait animation.
Machine has been restarted as needed to allow removal of indicated folders and behavior persists.
### To reproduce
Unzip arduino-ide_2.0.0-rc9_Windows_64bit.zip to empty folder.
> ZIP is 'unblocked' so extracted files not marked 'Blocked'
> Folder is in an excluded 'scan' folder for MalwareBytes
> Windows Defender also active, added exclusion, no difference
Install arduino-ide_2.0.0-rc9_Windows_64bit.msi
> completes and exits with no notice, but found installed
Execute and noted behavior persists
Attempts to resolve noted here https://forum.pjrc.com/threads/53548-Arduino-CLI-And-IDE-2-RC-Release-Teensy-Support?p=309665&viewfull=1#post309665
> That is post arduino/arduino-ide#270 , minor update on p#274 prior to creation of this issue.
Removed `%appdata%` folder `local\arduino15` and the two in `roaming` and no difference.
### Expected behavior
Expected either the IDE to appear like early nightly builds did Jan/Feb, or present some error messages or feedback as to the nature of some problem with startup.
### Arduino IDE version
#### Original report
IDE 2.0 RC9
#### Last verified with
76f9f635d8558f399423f64c0c709e3a53bdcd03 ([reference](https://forum.arduino.cc/t/arduino-ide-2-stalls-on-start/1037599/13))
### Operating system
Windows
### Operating system version
Windows 11 : Microsoft Windows [Version 10.0.22000.739]
### Additional context
Scanned open issues across 8 pages and not seeing notes of anything active and related.
Ran nightly build before RC9 release with same results as found with new RC9 release.
>Posts prior to RC9 with nightly builds and efforts to resolve in this thread: https://forum.pjrc.com/threads/70455-Teensyduino-1-57-Beta-3?p=309464&viewfull=1#post309464 { posts arduino/arduino-ide#33,36, 38
I can post any `.log` files that may reside or help understand what is hanging this system startup.
Not aware of anything else that may be present on the system causing this.
Running the EXE from the ZIP in an ADMIN command box I get this:
```text
C:\T_Drive\ardIDE_2>"Arduino IDE.exe"
C:\T_Drive\ardIDE_2>
Starting backend process. PID: 13200
Using browser-only version of superagent in non-browser environment
Error: EISDIR: illegal operation on a directory, realpath 'R:\Temp'
at Function.realpathSync.native (node:fs:2540:3)
at Function.native (node:electron/js2c/asar_bundle:5:4819)
at new SketchesServiceImpl (C:\T_Drive\ardIDE_2\resources\app\node_modules\arduino-ide-extension\lib\node\sketches-service-impl.js:48:51)
at _createInstance (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\instantiation.js:27:12)
at Object.resolveInstance (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\instantiation.js:47:18)
at C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\resolver.js:75:42
at Object.resolve (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\resolution\resolver.js:99:12)
at C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:335:37
at Container._get (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:326:44)
at Container.get (C:\T_Drive\ardIDE_2\resources\app\node_modules\inversify\lib\container\container.js:243:21) {
errno: -4068,
syscall: 'realpath',
code: 'EISDIR',
path: 'R:\\Temp'
}
Configuration directory URI: 'file:///c%3A/Users/Tim/.theia'
Theia app listening on http://localhost:56933.
root INFO Finished starting backend application: 4.1 ms [Finished 1.286 s after backend start]
[30924:0720/231630.034:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Stored workspaces roots:
C:\T_Drive\ardIDE_2>
```
---
{Using IDE 1.8.19 - freshly unzipped and TeensyDuino {1.57b4} installed and confirmed to work. It has no history of `preferences.txt` and no sketchbook or local libraries from actual folder are linked. Removal of `Arduino15` took away prior hardware packages as well}
---
Additional reports:
- https://github.com/arduino/arduino-ide/issues/1117
- https://forum.arduino.cc/t/arduino-ide-2-stalls-on-start/1037599
- https://forum.arduino.cc/t/arduino-ide-2-rc7-stalls-on-windows-11-system/1002172
- https://forum.arduino.cc/t/arduino-ide-2-1-1-0-not-work/1145930
---
Possibly related:
- https://github.com/nodejs/node/issues/6861
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
One of the users shared a workaround here:
https://github.com/arduino/arduino-ide/issues/1236#issuecomment-1262649773
If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject.
system
Closed
January 4, 2024, 4:33pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.