windows 上需要在Git bash中运行安装命令:
错误1:
'lerna' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! camunda-modeler-builder@0.0.0 postinstall: lerna bootstrap
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the camunda-modeler-builder@0.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
则需要Intall lerna: npm install -g lerna
错误2:
git-sh-setup: file not found
添加下面两个目录到环境变量中的 path
C:\Program Files\Git\usr\bin
C:\Program Files\Git\mingw64\libexec\git-core