I just migrated from a Win 10 system to a new PC running Win 11. I reinstalled V2.0.3 of the IDE. when I launch it I just get a white blank window with just the Arduino logo throbbing in the center of the screen. Never goes any further. I can install and run V 1.8.18 of the IDE and it seems to work fine. I.e. I can successfully compile and download "Blink" to a UNO. But Version 2 just hangs on the initial splash screen. Any thoughts as to what I'm missing?
I have a 64-bit, 2-core, 4GB, running Arduino IDE 2.0.3 on Win11. I get that non-full-screen, white, blank window. It usually happens when I launch a second sketch. I resize to full screen or shut the IDE down and try again.
My 32-bit, 2GB, Linux never had this issue, but I was only using 1.8.
Your topic has been moved to the dedicated IDE2.0 section of the forum.
Hi @jfilleman. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
- Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
(usuallyC:\Program Files\Arduino IDE
orC:\Users\<user name>\AppData\Local\Programs\Arduino IDE
). - In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
- From the context menu, click "Open PowerShell window here".
Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder. - Type the following command:
& ".\Arduino IDE"
- Press the Enter key.
Debug output should now be printed to the PowerShell window as the Arduino IDE starts. - Wait until you are sure the IDE startup has gone into the hang state
(as indicated by no additional output being printed to the terminal). - Switch back to the PowerShell window if the Arduino IDE window took the focus.
- Right click on the title bar of the PowerShell window.
This will open a context menu. - Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window. - Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard. - Open a forum reply here by clicking the Reply button.
- Click the
</>
icon on the post composer toolbar.
This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press Ctrl+V.
This will paste the output into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
The IDE is continuously looping. I had to force it to exit as the Windows Powershell was showing continuous output. Here is the first hundred or so lines of the output. It wouldn't let me post more than 120k characters Looks like it's a permissions issue with being able to create a new subfolder. And just keeps retrying and getting the same error.
Thanks for getting my post to the right thread, and thanks for the detailed instructions to get you the debug output.
John
r: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
2022-12-30T20:10:28.529Z daemon ERROR Error: Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
at Socket.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\arduino-daemon-impl.js:219:42)
at Socket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at Socket.Readable.push (node:internal/streams/readable:226:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2022-12-30T20:10:28.529Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2022-12-30T20:10:28.534Z daemon INFO Daemon exited with exit code: 7.
2022-12-30T20:10:28.574Z daemon INFO Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
2022-12-30T20:10:28.574Z daemon ERROR Error: Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
at Socket.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\arduino-daemon-impl.js:219:42)
at Socket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at Socket.Readable.push (node:internal/streams/readable:226:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2022-12-30T20:10:28.574Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2022-12-30T20:10:28.579Z daemon INFO Daemon exited with exit code: 7.
2022-12-30T20:10:28.620Z daemon INFO Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
2022-12-30T20:10:28.620Z daemon ERROR Error: Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
at Socket.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\arduino-daemon-impl.js:219:42)
at Socket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at Socket.Readable.push (node:internal/streams/readable:226:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2022-12-30T20:10:28.621Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2022-12-30T20:10:28.625Z daemon INFO Daemon exited with exit code: 7.
2022-12-30T20:10:28.666Z daemon INFO Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
2022-12-30T20:10:28.667Z daemon ERROR Error: Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
at Socket.<anonymous> (C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\arduino-daemon-impl.js:219:42)
at Socket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at Socket.Readable.push (node:internal/streams/readable:226:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)
2022-12-30T20:10:28.667Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2022-12-30T20:10:28.672Z daemon INFO Daemon exited with exit code: 7.
2022-12-30T20:10:28.712Z daemon INFO Error: invalid path creating config dir: C:\Users\John\AppData\Local\Arduino15 error: mkdir C:\Users\John: Access is denied.
time="2022-12-30T13:10:28-07:00" level=error msg="Error: invalid path creating config dir: C:\\Users\\John\\AppData\\Local\\Arduino15 error: mkdir C:\\Users\\John: Access is denied."
I changed the properties associated with the Desktop Icon Link to "Run as administrator" and that seems to have fixed the issue.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.