netbeans cordova- 构建我的项目时出错
netbeans cordova- error while building my project
我的 newtbeans Cordova 安装有一些问题。
我尝试构建简单的 Cordova Hello World 项目以在我的设备上进行检查。
但是当我尝试构建我的项目时,netbeans return 我遇到了这个错误:
Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git clone "https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git" "C:\Users\hadrien\AppData\Local\Temp\git26857416149""
正在克隆到 'C:\Users\hadrien\AppData\Local\Temp\git26857416149'...
致命:无法访问“https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git/”:SSL 证书问题:无法获取本地颁发者证书
at ChildProcess.exithandler (child_process.js:744:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Socket.<anonymous> (child_process.js:1176:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:476:12)
C:\Users\hadrien\Documents\NetBeansProjects\HTML5Application\nbproject\build.xml:235: 执行 returned: 1
构建失败(总时间:1 秒)
我有点迷茫,你能帮帮我吗?也许我在安装过程中出错了?
非常感谢
试试看吧!
打开 cmd 并输入:
git config --global http.sslVerify false
按下回车键!准备好了!
我的 newtbeans Cordova 安装有一些问题。
我尝试构建简单的 Cordova Hello World 项目以在我的设备上进行检查。
但是当我尝试构建我的项目时,netbeans return 我遇到了这个错误:
Error: Command failed: C:\Windows\system32\cmd.exe /s /c "git clone "https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git" "C:\Users\hadrien\AppData\Local\Temp\git26857416149""
正在克隆到 'C:\Users\hadrien\AppData\Local\Temp\git26857416149'... 致命:无法访问“https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git/”:SSL 证书问题:无法获取本地颁发者证书
at ChildProcess.exithandler (child_process.js:744:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Socket.<anonymous> (child_process.js:1176:11)
at Socket.emit (events.js:107:17)
at Pipe.close (net.js:476:12)
C:\Users\hadrien\Documents\NetBeansProjects\HTML5Application\nbproject\build.xml:235: 执行 returned: 1 构建失败(总时间:1 秒)
我有点迷茫,你能帮帮我吗?也许我在安装过程中出错了?
非常感谢
试试看吧! 打开 cmd 并输入:
git config --global http.sslVerify false
按下回车键!准备好了!