ivyone@ivyonedeMacBook-Pro daily-cost % npm run dev
> vite-project@0.0.0 dev /Users/ivyone/hami94/daily-cost
> vite
> src/router/index.js:3:17: error: Could not resolve "../views/Data.vue"
3 │ import Data from "../views/Data.vue";
? ~~~~~~~~~~~~~~~~~~~
error when starting dev server:
Error: Build failed with 1 error:
src/router/index.js:3:17: error: Could not resolve "../views/Data.vue"
at failureErrorWithLog (/Users/ivyone/hami94/daily-cost/node_modules/esbuild/lib/main.js:1160:15)
at buildResponseToResult (/Users/ivyone/hami94/daily-cost/node_modules/esbuild/lib/main.js:896:32)
at /Users/ivyone/hami94/daily-cost/node_modules/esbuild/lib/main.js:991:20
at /Users/ivyone/hami94/daily-cost/node_modules/esbuild/lib/main.js:542:9
at handleIncomingPacket (/Users/ivyone/hami94/daily-cost/node_modules/esbuild/lib/main.js:631:9)
at Socket.readFromStdout (/Users/ivyone/hami94/daily-cost/no
bug:The following dependencies are imported but could not be resolved lib-flexibleflexible
最新推荐文章于 2024-04-13 22:04:05 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)