Skip to content

Commit 047f0c0

Browse files
committed
Streamline article to focus on redirecting user to other resources
1 parent 69997f1 commit 047f0c0

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

content/Software Support/Upload/Error-exit-status-1.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,15 @@ title: "Error: exit status 1"
33
id: 360016955139
44
---
55

6-
**Exit status 1** only indicates that a process has failed, it does not tell us anything specific about the problem.
6+
**Exit status 1** is used in some error messages to indicate that a process has finished (or "exited") in failure. Other parts of the error message will often contain more specific information.
77

8-
## Check the error output for more information
8+
Your error output may end with one of these lines:
99

10-
Look for more specific errors in the console output. Typically these are output before (above) the exit status message. By searching for the error message in this [Help Center](https://support.arduino.cc/hc/en-us) or in the [Arduino Forum](https://forum.arduino.cc/) you can find more information on the issue.
10+
* `Compilation error: exit status 1`. See [If your sketch doesn't compile](https://support.arduino.cc/hc/en-us/articles/4402764401554-Compilation-errors-when-uploading).
11+
* `Failed uploading: uploading error: exit status 1`. See [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
1112

12-
In the below example, the output ends with an `exit status 1` error. The line above is more helpful, which tells us that no device (board) was found on the selected port. Most likely the wrong port is selected in _Tools > Port_.
1313

14-
![Upload error in the IDE console. The line "No device found on cu.Bluetooth-Incoming-Port" is followed by "Upload error: Error: 2 UNKNOWN: uploading error: uploading error: exit status 1"](img/upload-error-error-2-unknown-uploading-error-no-upload-port-provided.png)
14+
If your error only reads `exit status 1`, or if you have a different error, click the ![Verify button](img/symbol_verify2.png) **Verify** button:
1515

16-
## Find troubleshooting instructions
17-
18-
First, determine if the error occurs during compilation or upload:
19-
20-
* `Upload error: Error: 2 UNKNOWN: uploading error: uploading error: exit status 1`. This message indicates an **upload error**.
21-
* `Compilation error: Error: 2 UNKNOWN: exit status 1`. This message indicates a **compilation error**.
22-
* If it only reads `exit status 1`, or if you are unsure, you can check where the process fails by clicking the ![Verify button](img/symbol_verify.png) **Verify** button. This compiles the sketch **without** trying to upload it to the board.
23-
* If you still get an error, it occurs during **compilation**.
24-
* If this passes with a `Compilation complete` message, the error occurs during **upload**.
25-
26-
You can now proceed with the instructions for your error type:
27-
28-
* For **upload errors**, see [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
29-
* For **compilation errors**, see [Compilation errors when uploading](https://support.arduino.cc/hc/en-us/articles/4402764401554-Compilation-errors-when-uploading).
16+
* If you still get an error, it occurs during **compilation**. See [If your sketch doesn't compile](https://support.arduino.cc/hc/en-us/articles/4402764401554-Compilation-errors-when-uploading).
17+
* If it passes with a `Compilation complete` message, the error occurs during **upload**. See [Errors when uploading a sketch](https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch).
1.81 KB
Loading
-33.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)