Check your midway and component version is matched # check npx midway-version # update npx midway-version -u # write pkg and lock npx midway-version -u -w