使用 npm install 安装提示下面
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
使用 npm -g install 安装提示下面
╭────────────────────────────────────────────────────────────────╮
│ │
│ New major version of npm available! 6.13.4 → 10.0.0 │
│ Changelog: https://github.com/npm/cli/releases/tag/v10.0.0 │
│ Run npm install -g npm to update! │
│ │
╰────────────────────────────────────────────────────────────────╯