can't find file to patch at input line 3 错误原因
2017-10-30 16:49
676 查看
执行 patch < nginx-proxy.diff 命令,将文件修改应用到文件中,报告如下错误:
can’t find file to patch at input line 3
Perhaps you should have used the -p or –strip option?
原因:
目标文件没有找到。也就会如下DEMO代码第一行的文件 nginx-proxy.conf 文件没有找到,或者这里拼写错误,或者文件夹路径错误导致。
can’t find file to patch at input line 3
Perhaps you should have used the -p or –strip option?
原因:
目标文件没有找到。也就会如下DEMO代码第一行的文件 nginx-proxy.conf 文件没有找到,或者这里拼写错误,或者文件夹路径错误导致。
--- nginx-proxy.conf 2017-10-30 15:37:35.000000000 +0800 +++ nginx-proxy.new 2017-10-30 15:40:14.000000000 +0800
相关文章推荐
- error at ::0 can't find referenced pointcut..可能出现错误的原因
- How to apply a patch/diff and solve “hunk FAILED”, “can’t find file to patch” and others
- SELECT ... INTO OUTFILE报错ERROR 1 (HY000) at line 1: Can't create/write to file...
- error at ::0 can't find referenced pointcut..可能出现错误的原因
- How to apply a patch/diff and solve “hunk FAILED”, “can’t find file to patch” and others
- svn: Can't open file 'PATH/TO/YOUR/FILES/.svn/lock': Permission denied - See more at: http://ericlon
- 转换VS格式时提示错误 This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0
- gcc warning: no newline at end of file的原因
- error "OPatch cannot find a valid oraInst.loc file to locate Central Inventory
- ERROR 126 (HY000) at line 1: Incorrect key file for table '/tmp/#sql_7b09_0.MYI'; try to repair it
- “undefined reference to JNI_GetCreatedJavaVM”和“File format not recognized”错误原因分析
- How to find a file or folder in MS-DOS or Windows command line
- Stack overflow at line  错误原因
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- How can I force Python's file.write() to use the same newline format in Windows as in Linux (“\r\n”
- SimpleCV cannot find cascade file face 错误的原因及解决
- stack overflow at line 错误原因及解决
- android.content.ActivityNotFoundException: Unable to find explicit activity class错误原因排查
- 错误提示:Multiple annotations found at this line: basePath cannot be resolved to a variable
- 错误代码: 1017 Can't find file: '.\bus\t_driver_info@ff1b.frm' (errno: 22 - Invalid argument)