还是只有npm install vite好使,其他的都不行

MacBook-Pro daily-cost-h5-05 % 
MacBook-Pro daily-cost-h5-05 % npm run dev

> daily-cost@0.0.0 dev
> vite

sh: vite: command not found
MacBook-Pro daily-cost-h5-05 % npm install vite2
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npm.taobao.org/vite2
npm ERR! 404 
npm ERR! 404  'vite2@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ivyone/.npm/_logs/2021-04-14T07_37_49_929Z-debug.log
MacBook-Pro daily-cost-h5-05 % npm install vite@next
npm ERR! code ETARGET
npm ERR! notarget No matching version found for vite@next.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ivyone/.npm/_logs/2021-04-14T07_38_02_384Z-debug.log
MacBook-Pro daily-cost-h5-05 % npm install vite

added 407 packages in 12s
MacBook-Pro daily-cost-h5-05 % npm run dev

> daily-cost@0.0.0 dev
> vite

[vite] Optimizable dependencies detected:
axios, dayjs, lib-flexible, vant, vue

  Dev server running at:
  > Local:    http://localhost:8080/
  > Network:  http://192.168.3.11:8080/


[vite] Avoid deep import "lib-flexible/flexible" (imported by /src/main.js)
because "lib-flexible" has been pre-optimized by vite into a single file.
Prefer importing directly from the module entry:

  import { ... } from "lib-flexible" 

If the dependency requires deep import to function properly, 
add the deep path to optimizeDeps.include in vite.config.js.