Help Center/ CodeArts Deploy/ FAQs/ Common FAQs/ What Should I Do If the File or File Path Does Not Exist?
Updated on 2024-08-06 GMT+08:00

What Should I Do If the File or File Path Does Not Exist?

Symptoms

The error message The file or file path does not exist is displayed.

Cause Analysis

The possible causes are as follows:

  • The file does not exist.
  • The file path is not an absolute path.

Solution

Perform the following operations based on the failure causes:

  • Run the shell command to check whether the source file exists.
  • Check whether the file path is an absolute path starting with a forward slash (/).