Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lele_h_
Beginner
85 Views

xdk build error

ERROR (-9) from "client:upload-manager": Error in uploading project files: : Error in uploading project files: : Error in uploading project files: : unable to verify the first certificate Error at new ComponentError (D:\c2软件\xdk\xdk\core-modules\public\component-error.js:17:1122) at makeError (file:///D:/c2%E8%BD%AF%E4%BB%B6/xdk/xdk/components/client/upload-manager/upload-manager.js:17:170) at getComponentError 

 

 unable to verify the first certificate Error at new ComponentError  ,what's the meaning?  

I export my game from construct2 to corvoad  ,and  import it to xdk,then build it! but with errors.... 

 

Tags (2)
0 Kudos
3 Replies
Zhen_Z_Intel
Employee
85 Views

Hi, lele. It seems a SSL certification problem. Have you ever add a developer certificate? I noticed you are using Chinese simplified characters. I wonder are you located in China? Did you connect the internet through a proxy? (You have to use proxy to access XDK server in mainland China) If you did, it might due to the certificate isn't trusted behind proxy. Please try to set the HTTP proxy config

npm config set registry http://registry.npmjs.org/ --global
npm config set proxy [address]:[port]
npm config set https-proxy [address]:[port]
npm set strict-ssl false

Otherwise please paste the detailed error information to us.

lele_h_
Beginner
85 Views

HI,Fiona ,you are right. i did use   use   (XX-Net)proxy to access my internet.    I export my game from construct2 to corvoad  ,and  I found that,the game files don't have the file :intelxdk.config.additions.xml  ,   so  when I import the project into xdk  and build it  (my certificate has created) , it take this problem.    but when I create a new project  in xdk   and   copy my files to the new empty xdk www files. 

 and build app, it works well. mm... i wonder this... maby  I will try  it  as you say   :

 

1 npm config set registry http://registry.npmjs.org/ --global
2 npm config set proxy [address]:[port]
3 npm config set https-proxy [address]:[port]
4 npm set strict-ssl false

 

 THanks. and  i will try it ...

lele_h_
Beginner
85 Views

@Fiona Z  HI ,Fiona ,  i use old xdk version 2089 can build success ,but now  the old version will not work. then  i reupdate the xdk to 3357  and build my app,but still log this error...  

please can you  tell  me  what's the address  i should put ? (npm config set https-proxy [address]:[port])

Reply