文章

Cocos Creator Windows环境源码编译

Prerequisite

  • NVM Node 版本管理器(通常称为 nvm)
1
2
3
nvm list available
nvm install 9.11.2
nvm use 9.11.2

Install

1
2
3
cd <cc_src_path>
# download & build engine dependencies
npm install
1
2
3
cd cocos-engine/native
npm install
gulp init
  • npm\gulp.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170

    1
    
    set-executionpolicy remotesigned
    
本文由作者按照 CC BY 4.0 进行授权