can I ask what node and npm version are you using? I assume your npm is 6?
Yes,i review the doc and find that we should use npm 8.x. I upgrade the npm version and try again now.