运行不起来,报错。还请那位大佬指点。pnpm也安装了。
failed to load config from D:\11\vite-vue3-ts\vite.config.ts
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.Module._load (internal/modules/cjs/loader.js:746:27)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (D:\11\vite-vue3-ts\node_modules\vite\dist\node-cjs\publicUtils.cjs:5:14)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object._require.extensions..js (file:///D:/11/vite-vue3-ts/node_modules/vite/dist/node/chunks/dep-561c5231.js:62742:13)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vite-vue3-ts@1.0.0 dev: `vite`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vite-vue3-ts@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\86156\AppData\Roaming\npm-cache\_logs\2022-12-05T09_12_31_065Z-debug.log
ELIFECYCLE Command failed with exit code 1.