简体   繁体   English

ProcessMaker 4 (EBADENGINE) 的开发人员安装期间出现 NPM 错误

[英]Error with NPM during the Developer Installation of ProcessMaker 4 (EBADENGINE)

During the Development installation of the NPM after introducing the npm install command on the Windows command prompt an error log appears在 NPM 的开发安装过程中,在 Windows 命令提示符下引入npm install命令后,出现错误日志

npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm: @processmaker/processmaker@4.4.0-RC1
npm ERR! notsup Not compatible with your version of node/npm: @processmaker/processmaker@4.4.0-RC1
npm ERR! notsup Required: {"npm":"~8","node":">=16.18 >19"}
npm ERR! notsup Actual:   {"npm":"8.19.2","node":"v18.12.1"}

As you see I already modified the package.json to make it work with the current version of Node and NPM but for some reason it does not recognize it.如您所见,我已经修改了 package.json 以使其与当前版本的 Node 和 NPM 一起使用,但由于某种原因它无法识别它。

Im installing it on a Xampp in Windows 10.我正在将它安装在 Windows 10 中的 Xampp 上。

As the error message mentioned, your node version is too high.如错误消息所述,您的节点版本过高。 The supported node versions for that project are ~16.18 meaning 16.18 + patches (16.18.x) .该项目支持的节点版本是~16.18意思是16.18 + patches (16.18.x) You will need to downgrade to a 16.18.x version.您需要降级到 16.18.x 版本。 I highly recommend setting up a node version manager;我强烈建议设置一个节点版本管理器; I'm not sure what people use on Windows these days, but I use NVM for macOS.我不确定这些天人们在 Windows 上使用什么,但我使用NVM for macOS。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM