notes: 个人笔记。
run company n8n:
step1:
必须下载v14.15.5.msi版本,一路安装到底,不用额外安装什么windows-build-tool
了,会被自动安装。
v14.15.5.msi
NOTE: Use node version 14.x and npm version 6.x. If using npm version 7+, you must enable legacy peer dependencies by setting: npm config set legacy-peer-deps true. 因外 v14.15.5
就是正常版本,所以不用管这句话。
step2:
删除所有 根目录 和 子目录(cli, core, nodes, workflow …)的 node_modules
step3:
npm uninstall --global lerna
npm install --global lerna (现在我可以正常使用的版本: 4.0.0)
lerna clean
npm cache clear --force
npm install --production --loglevel notice
lerna bootstrap --hoist
npm run build
npm run dev
npm run start