Invalid option '--ext' - perhaps you meant '-c'?
You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details.
failed to load config from D:\three3d-main\vite.config.ts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from D:\three3d-main\vite.config.ts.timestamp-1721556289437-26c9c8c11f7f8.mjs
Did you mean to import "vite/index.cjs"?
at packageResolve (node:internal/modules/esm/resolve:842:9)
at moduleResolve (node:internal/modules/esm/resolve:915:18)
at defaultResolve (node:internal/modules/esm/resolve:1124:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:526:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:249:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)
Invalid option '--ext' - perhaps you meant '-c'? You're using eslint.config.js, some command line flags are no longer available. Please see https://eslint.org/docs/latest/use/command-line-interface for details. failed to load config from D:\three3d-main\vite.config.ts error when starting dev server: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vite' imported from D:\three3d-main\vite.config.ts.timestamp-1721556289437-26c9c8c11f7f8.mjs Did you mean to import "vite/index.cjs"? at packageResolve (node:internal/modules/esm/resolve:842:9) at moduleResolve (node:internal/modules/esm/resolve:915:18) at defaultResolve (node:internal/modules/esm/resolve:1124:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:526:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:249:38) at ModuleJob._link (node:internal/modules/esm/module_job:126:49)