ArduinoIDE 2.2.1 keeps giving me a blank page after installation for windows 11 what's the problem??
Why did you post this in the section for IDE 1.x?
I will move your topic for you. Please read the sticky post at the top of each forum section to know if it the correct place for your question.
Hi @louil. I'm going to ask you to post some additional information that might help us to identify the problem.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Close all Arduino IDE windows if the IDE is already running.
- Start Windows "File Explorer".
- Open the Arduino IDE installation folder.
ⓘ The default installation location is at one of the following paths:-
C:\Program Files\Arduino IDE
-
(whereC:\Users\<username>\AppData\Local\Programs\Arduino IDE
<username>
is your Windows username)
If looking for it with your file manager or command line, note that the
AppData
folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
-
- 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 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.
- Press the Ctrl+Shift+A keyboard shortcut.
This will select all the text in the PowerShell window. - Press the Ctrl+C keyboard shortcut.
This will copy the contents of the PowerShell window to the clipboard. - Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>
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 the Ctrl+V keyboard shortcut.
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.
PS G:\my arduino\Arduino IDE> & ".\Arduino IDE"
PS G:\my arduino\Arduino IDE>
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: G:\my arduino\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': G:\my arduino\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}
Starting backend process. PID: 13904
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/dell/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-03-16T09:52:13.069Z root INFO Backend Object.initialize: 4.1 ms [Finished 0.474 s after backend start]
2024-03-16T09:52:13.069Z root INFO Backend Object.configure: 3.4 ms [Finished 0.474 s after backend start]
2024-03-16T09:52:13.070Z root INFO Backend a.onStart: 1.3 ms [Finished 0.474 s after backend start]
2024-03-16T09:52:13.070Z root INFO Backend a.configure: 0.3 ms [Finished 0.499 s after backend start]
2024-03-16T09:52:13.071Z root INFO Backend u.onStart: 0.2 ms [Finished 0.499 s after backend start]
2024-03-16T09:52:13.072Z root INFO Backend d.configure: 0.1 ms [Finished 0.499 s after backend start]
2024-03-16T09:52:13.072Z root INFO Backend d.initialize: 24.1 ms [Finished 0.499 s after backend start]
2024-03-16T09:52:13.073Z root INFO Backend c.onStart: 0.2 ms [Finished 0.499 s after backend start]
2024-03-16T09:52:13.073Z root INFO Backend s.configure: 1.2 ms [Finished 0.500 s after backend start]
2024-03-16T09:52:13.075Z config INFO >>> Initializing CLI configuration...
2024-03-16T09:52:13.075Z root INFO Backend c.initialize: 0.4 ms [Finished 0.500 s after backend start]
2024-03-16T09:52:13.075Z root INFO Backend P.onStart: 0.8 ms [Finished 0.501 s after backend start]
2024-03-16T09:52:13.076Z config INFO Loading CLI configuration from c:\Users\dell\.arduinoIDE\arduino-cli.yaml...
2024-03-16T09:52:13.076Z daemon INFO Starting daemon from G:\my arduino\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-03-16T09:52:13.076Z root INFO Backend s.initialize: 0.3 ms [Finished 0.502 s after backend start]
2024-03-16T09:52:13.076Z root INFO Backend w.onStart: 1.0 ms [Finished 0.503 s after backend start]
2024-03-16T09:52:13.076Z root INFO Backend r.configure: 1.9 ms [Finished 0.503 s after backend start]
2024-03-16T09:52:13.077Z discovery-log INFO start
2024-03-16T09:52:13.077Z discovery-log INFO start new deferred
2024-03-16T09:52:13.077Z root INFO Backend d.initialize: 0.3 ms [Finished 0.503 s after backend start]
2024-03-16T09:52:13.077Z root INFO Backend y.onStart: 1.8 ms [Finished 0.505 s after backend start]
2024-03-16T09:52:13.077Z root INFO Backend r.configure: 1.7 ms [Finished 0.505 s after backend start]
2024-03-16T09:52:13.077Z root INFO Backend s.onStart: 0.5 ms [Finished 0.506 s after backend start]
2024-03-16T09:52:13.077Z root INFO Backend h.configure: 0.5 ms [Finished 0.507 s after backend start]
2024-03-16T09:52:13.078Z root INFO Backend a.configure: 0.4 ms [Finished 0.507 s after backend start]
2024-03-16T09:52:13.078Z root INFO Backend s.configure: 0.0 ms [Finished 0.508 s after backend start]
2024-03-16T09:52:13.078Z root INFO Backend l.configure: 0.1 ms [Finished 0.508 s after backend start]
2024-03-16T09:52:13.081Z root INFO Theia app listening on http://localhost:50252.
2024-03-16T09:52:13.081Z root INFO Finished starting backend application: 4.0 ms [Finished 0.511 s after backend start]
2024-03-16T09:52:13.107Z root WARN The local plugin referenced by local-dir:/c%3A/Users/dell/.arduinoIDE/plugins does not exist.
2024-03-16T09:52:13.108Z root WARN The local plugin referenced by local-dir:/c%3A/Users/dell/.arduinoIDE/extensions does not exist.
2024-03-16T09:52:13.109Z root WARN The local plugin referenced by local-dir:C:\Users\dell\.arduinoIDE\plugins does not exist.
2024-03-16T09:52:13.144Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\dell\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\dell\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\dell\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-03-16T09:52:13.144Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-03-16T09:52:13.146Z config INFO Loaded the CLI configuration.
2024-03-16T09:52:13.148Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/dell/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/dell/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-03-16T09:52:13.159Z config INFO Validating the CLI configuration...
2024-03-16T09:52:13.162Z config INFO The CLI config is valid.
2024-03-16T09:52:13.163Z config INFO <<< Initialized the CLI configuration.
2024-03-16T09:52:13.181Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Using config file: c:\\Users\\dell\\.arduinoIDE\\arduino-cli.yaml"
time="2024-03-16T11:52:13+02:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2024-03-16T11:52:13+02:00" level=info msg="Executing `arduino-cli daemon`"
2024-03-16T09:52:13.193Z daemon INFO Daemon is now listening on 127.0.0.1:50253
{"IP":"127.0.0.1","Port":"50253"}
2024-03-16T09:52:13.193Z daemon INFO Daemon is running.
2024-03-16T09:52:13.216Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Updating libraries index"
2024-03-16T09:52:13.217Z root INFO Resolve plugins list: 141.6 ms [Finished 0.647 s after backend start]
2024-03-16T09:52:13.222Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-03-16T09:52:13.230Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
2024-03-16T09:52:13.231Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\dell\AppData\Local\Arduino15\package_index.json: open C:\Users\dell\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.233Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2024-03-16T09:52:13.233Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2024-03-16T09:52:13.233Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\dell\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.238Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\dell\AppData\Local\Arduino15\package_index.json: open C:\Users\dell\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\dell\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.241Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Loading hardware from: C:\\Users\\dell\\AppData\\Local\\Arduino15\\packages"
time="2024-03-16T11:52:13+02:00" level=info msg="Loading libraries index file" index="C:\\Users\\dell\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-03-16T11:52:13+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\dell\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-03-16T11:52:13+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\dell\\Documents\\Arduino\\libraries" location=user
2024-03-16T09:52:13.250Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2
2024-03-16T09:52:13.252Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
at t.callErrorFromStatus (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
at Object.onReceiveStatus (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
at Object.onReceiveStatus (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
at G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:833048
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at a.makeServerStreamRequest (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
at a.updateIndex (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
at G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:587141
at G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:587489
at new Promise (<anonymous>)
at _.doUpdateIndex (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
at _.updatePlatformIndex (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:587113)
at _.updateIndex (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:586481)
at _.initInstanceWithFallback (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-03-16T09:52:13.254Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2
2024-03-16T09:52:13.258Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Updating libraries index"
time="2024-03-16T11:52:13+02:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-03-16T11:52:13+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-03-16T11:52:13+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-03-16T09:52:13.260Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Updating libraries index"
2024-03-16T09:52:13.261Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-03-16T09:52:13.262Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
2024-03-16T09:52:13.263Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\dell\AppData\Local\Arduino15\package_index.json: open C:\Users\dell\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.263Z daemon INFO time="2024-03-16T11:52:13+02:00" level=info msg="Loading hardware from: C:\\Users\\dell\\AppData\\Local\\Arduino15\\packages"
time="2024-03-16T11:52:13+02:00" level=info msg="Loading libraries index file" index="C:\\Users\\dell\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-03-16T11:52:13+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\dell\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-03-16T11:52:13+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\dell\\Documents\\Arduino\\libraries" location=user
2024-03-16T09:52:13.264Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2024-03-16T09:52:13.265Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2024-03-16T09:52:13.265Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\dell\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.266Z root ERROR Uncaught Exception: Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\dell\AppData\Local\Arduino15\package_index.json: open C:\Users\dell\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\dell\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-03-16T09:52:13.267Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\dell\AppData\Local\Arduino15\package_index.json: open C:\Users\dell\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\dell\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
at G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:586285
at _.evaluateErrorStatus (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async s.<anonymous> (G:\my arduino\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
2024-03-16T09:52:14.257Z root INFO Deploy plugins list: 141.6 ms [Finished 1.687 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-03-16T09:52:14.651Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 226.0 ms [Finished 1.490 s after frontend start]
2024-03-16T09:52:14.658Z root WARN A command editor.action.toggleStickyScroll is already registered.
On the first run after a fresh installation, Arduino IDE downloads some additional essential components from the Internet and installs them. If it can't install those components then the startup fails. So the computer must have access to the Internet on the first startup.
The errors indicate Arduino IDE is not able to access the Internet. If it is not already, please connect your computer to the Internet, close the Arduino IDE window, then start Arduino IDE again. This time it should start up successfully.
After that first run, an Internet connection is not required. However, there are some supplemental features such as "Library Manager" that have an inherent dependency on the Internet. Those features will not be usable while your computer is offline. But the essential functionality of editing, compiling, and uploading sketches will be available even without an Internet connection.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.