下载芋道源码前后端启动的错误解决
后端:
yudao-server启动报错,命令太长,打开当前父级目录下的.idea目录下的workspace.xml在
<property name="dynamic.classpath" value="true" />
前端:
错误1:
1、执行yarn install报错:error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.12.1"
error Found incompatible module.
解决方案:执行命令:yarn config set ignore-engines true
再次执行:yarn install
错误2:
2、执行npm run front报错:Error: error:0308010C:digital envelope routines::unsupported
解决方案:set NODE_OPTIONS=--openssl-legacy-provider
再次执行:yarn install