Fix shapefile related test failures by polyfilling node's Buffer. #7418
Annotations
10 errors and 1 warning
build:
src/ModelMixins/TileErrorHandlerMixin.ts#L212
Type 'Promise<void>' is not assignable to type 'boolean'.
|
build:
src/Models/Catalog/Esri/ArcGisMapServerCatalogItem.ts#L510
Argument of type '{ layers: string; tilingScheme: WebMercatorTilingScheme; maximumLevel: number | undefined; tileHeight: number; tileWidth: number; parameters: any; enablePickFeatures: boolean; usePreCachedTilesIfAvailable: boolean; mapServerData: MapServer; token: string | undefined; credit: string | undefined; }' is not assignable to parameter of type 'ConstructorOptions'.
|
build:
test/SpecMain.ts#L7
Cannot find module '../lib/Models/Catalog/registerCatalogMembers' or its corresponding type declarations.
|
build:
test/Core/JsonSpec.ts#L15
Cannot find module '../../lib/Core/Json' or its corresponding type declarations.
|
build:
test/Core/JsonSpec.ts#L16
Cannot find module '../../lib/Models/Terria' or its corresponding type declarations.
|
build:
test/Core/ResultSpec.ts#L1
Cannot find module '../../lib/Core/TerriaError' or its corresponding type declarations.
|
build:
test/Core/ResultSpec.ts#L2
Cannot find module '../../lib/Core/Result' or its corresponding type declarations.
|
build:
test/Core/TerriaErrorSpec.ts#L1
Cannot find module '../../lib/Core/TerriaError' or its corresponding type declarations.
|
build:
test/Core/addedByUserSpec.ts#L1
Cannot find module '../../lib/Core/addedByUser' or its corresponding type declarations.
|
build:
test/Core/addedByUserSpec.ts#L2
Cannot find module '../../lib/Models/Terria' or its corresponding type declarations.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|