最近的文章列表

vue build报错:Could not find a declaration file for module '../package/dist/vue-web-component-wrapper.es.js'. /package/dist/vue-web-component-wrapper.es.js' implicitly has an 'any' type

 D:\Camnpr git:[dev]

npm run build

> vite1@1.0.0 build

> pnpm run type-check && pnpm run build-only

> vite1@1.0.0 type-check D:\Camnpr 

> vue-tsc --noEmit

src/main.ts:10:33 - error TS7016: Could not find a declaration file for module '../package/dist/vue-web-component-wrapper.es.js'. 'D:/Camnpr/package/dist/vue-web-component-wrapper.es.js' implicitly has an 'any' type.

...
2024/1/13 Comments:
vue-tsc --noEmi 报错 Search string not found: "/supportedTSExtensions = .*(?=;)/"

 > vue-tsc --noEmit

D:\WorkSpace\xxx\node_modules\vue-tsc\bin\vue-tsc.js:68

                        throw err;

                        ^

...
2024/1/13 Comments:
比make更高级的编译配置工具CMake安装使用教程

CMake是一个比make更高级的编译配置工具,它可以根据不同平台、不同的编译器,生成相应的Makefile或者vcproj项目。

  通过编写CMakeLists.txt,可以控制生成的Makefile,从而控制编译过程。CMake自动生成的Makefile不仅可以通过make命令构建项目生成目标文件,还支持安装(make install)、测试安装的程序是否能正确执行(make test,或者ctest)、生成当前平台的安装包(make package)、生成源码包(make package_source)、产生Dashboard显示数据并上传等高级功能,只要在CMakeLists.txt中简单配置,就可以完成很多复杂的功能,包括写测试用例。

2014/10/29 Comments: