旧版迁移方法失效导致整个项目500错误,是否只能重装?

已经将Node.js更新为24.16.0,yarn版本为1.22.22。执行yarn nocobase pm2-stop和yarn install后,出现类似如下提示:

[5/5] Building fresh packages…
success Saved lockfile.
$ nocobase postinstall
/bin/sh: line 1: nocobase: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

包括yarn nocobase upgrade时也是一样的错误。
目前整个项目的网站都报了500错误,无法访问。现阶段是否只能CLI重装解决?

缺陷已经修复,请升级到最新版本(2.1.4),检查问题是否解决。升级前备份数据库。
可以只保留storage文件夹 重新下载代码 。