This is probably not a problem with npm. There is likely additional logging output above.

作者:

解决方法:

package.json是否在其他目录也出现

或者

删除node_modules、package-lock.json,重装npm i