Can't build by command line, initial project

Can't build by command line, initial project
0

Well, i try to make a build by command line with Jenkins. Follow this doc Publish with Command Line

Use Cocos Creator 2.3.1.

How to reproduce :

  1. download a project to any folder (DON’T OPEN IN Cocos Editor, go to step 2).
  2. use command line to build a project.

Any ideas how to fix it?
Thanks.

**13:13:56** + /Applications/CocosCreator.app/Contents/MacOS/CocosCreator --path /Users/Shared/Jenkins/Home/workspace/1 --build 'platform=web-mobile;debug=true' 
**13:13:57** (node:19943) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
**13:13:57** ===== Initializing Editor ===== 
**13:13:57** arguments: 
**13:13:57** --path
**13:13:57** /Users/Shared/Jenkins/Home/workspace/1
**13:13:57** --build 
**13:13:57** platform=web-mobile;debug=true 
**13:13:57** 
**13:13:57** [19943] Load ~/.CocosCreator/settings.json 
**13:13:58** [19943] Initializing Asset Database 
**13:13:58** [19943] checking language setting... 
**13:13:58** [19943] protocol editor-framework registered 
**13:13:58** [19943] protocol app registered 
**13:13:58** [19943] protocol theme registered 
**13:13:58** [19943] protocol packages registered 
**13:13:58** [19943] protocol uuid registerred 
**13:13:58** [19943] protocol db registerred 
**13:13:58** [19943] protocol thumbnail registerred 
**13:15:58** [19943] Language: lang **<----- at this moment it asks select a language in UI, WHAT?** 
**13:15:58** Load profile failed: local://settings.json 
**13:15:59** Load profile failed: local://settings.json 
**13:15:59** Load profile failed: local://settings.json 
**13:15:59** Load profile failed: local://settings.json 
**13:15:59** Load profile failed: local://settings.json 
**13:15:59** { Error: Cannot find module '../../../share/i18n/lang/localization' 
**13:15:59** Require stack: 
**13:15:59** - /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/editor/browser.js     
**13:15:59** - /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/editor/index.js
**13:15:59** - /Applications/CocosCreator.app/Contents/Resources/app.asar/editor/index.js
**13:15:59** - /Applications/CocosCreator.app/Contents/Resources/app.asar/app.js 
**13:15:59** - 
**13:15:59** at Module._resolveFilename (internal/modules/cjs/loader.js:683:15) 
**13:15:59** at Function.Module._resolveFilename (/Applications/CocosCreator.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12) 
**13:15:59** at Function.Module._load (internal/modules/cjs/loader.js:601:27) 
**13:15:59** at Module.require (internal/modules/cjs/loader.js:739:19) 
**13:15:59** at require (internal/modules/cjs/helpers.js:14:16) 
**13:15:59** at Object.<anonymous> (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/editor/browser.js:1:1179) 
**13:15:59** at Module._compile (internal/modules/cjs/loader.js:839:30) 
**13:15:59** at Object.Module._extensions..js (internal/modules/cjs/loader.js:851:10) 
**13:15:59** at Module.load (internal/modules/cjs/loader.js:701:32) 
**13:15:59** at tryModuleLoad (internal/modules/cjs/loader.js:633:12) 
**13:15:59** code: 'MODULE_NOT_FOUND', 
**13:15:59** requireStack: 
**13:15:59** [ '/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/editor/browser.js', 
**13:15:59** '/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/lib/editor/index.js', 
**13:15:59** '/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/index.js', 
**13:15:59** '/Applications/CocosCreator.app/Contents/Resources/app.asar/app.js',
**13:15:59** undefined ] } 
**13:15:59** [19943] protocol unpack registerred 
**13:15:59** [19943] protocol disable-commonjs registerred 
**14:03:56** Build timed out (after 50 minutes). 
Marking the build as aborted.