You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error TS2688: Cannot find type definition file for 'vue-cesium/Cesium.d.ts'.
The file is in the program because:
Entry point of type library 'vue-cesium/Cesium.d.ts' specified in compilerOptions
tsconfig.json:25:7
25 "vue-cesium/Cesium.d.ts",
~~~~~~~~~~~~~~~~~~~~~~~~
File is entry point of type library specified here.
error TS2688: Cannot find type definition file for 'vue-cesium/global.d.ts'.
The file is in the program because:
Entry point of type library 'vue-cesium/global.d.ts' specified in compilerOptions
tsconfig.json:24:7
24 "vue-cesium/global.d.ts",
~~~~~~~~~~~~~~~~~~~~~~~~
File is entry point of type library specified here.
运行 npm run build
报错如下:
error TS2688: Cannot find type definition file for 'vue-cesium/Cesium.d.ts'.
The file is in the program because:
Entry point of type library 'vue-cesium/Cesium.d.ts' specified in compilerOptions
tsconfig.json:25:7
25 "vue-cesium/Cesium.d.ts",
~~~~~~~~~~~~~~~~~~~~~~~~
File is entry point of type library specified here.
error TS2688: Cannot find type definition file for 'vue-cesium/global.d.ts'.
The file is in the program because:
Entry point of type library 'vue-cesium/global.d.ts' specified in compilerOptions
tsconfig.json:24:7
24 "vue-cesium/global.d.ts",
~~~~~~~~~~~~~~~~~~~~~~~~
File is entry point of type library specified here.
tsconfig.js 文件内容:
{
"compilerOptions": {
"strict": true,
"module": "ESNEXT",
"target": "ESNEXT",
"noImplicitAny": false,
"declaration": true,
"moduleResolution": "Node",
"esModuleInterop": true,
"jsx": "preserve",
"sourceMap": true,
"lib": [
"ESNEXT",
"DOM",
"DOM.Iterable"
],
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strictNullChecks": false,
"baseUrl": "./",
"types": [
"vue-cesium/global.d.ts",
"vue-cesium/Cesium.d.ts",
"vite/client"
],
"paths": {
"@src/": [
"src/"
],
"vue$": [
"node_modules/vue/dist/vue.runtime.esm-bundler.js"
]
}
},
"include": [
"src/**/",
"typings/",
"node_modules/vue-cesium/Cesium.d.ts",
"node_modules/vue-cesium/global.d.ts"
]
}
The text was updated successfully, but these errors were encountered: