In the Vue3 + Typescript project, the error Could not find a declaration file for module ./layouts/BasicLayout.vue . c:/Codefield/project/yupao-frontend/src/layouts/BasicLayout.vue.js implicitly has an any type. Or the module or its corresponding type declaration could not be found.
Solution:
Install a package npm i --save-dev @types/node
, the problem is solved~