ShipEngine / firebase-extensions

Apache License 2.0
5 stars 7 forks source link

Error installing Extension #44

Open sfreed opened 2 weeks ago

sfreed commented 2 weeks ago

I have tried installing this extension several times and keep getting the same error... any ideas?

`; RESOURCE_ERROR at /deployments/firebase-ext-calculate-rates/resources/getRates: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: ...2.d.ts(1481,18): error TS1005: ',' expected.\nnode_modules/@types/node/http2.d.ts(1482,21): error TS1005: ',' expected.\nnode_modules/@types/node/http2.d.ts(1482,103): error TS1109: Expression expected.\nnode_modules/@types/node/http2.d.ts(1483,10): error TS1005: ';' expected.\nnode_modules/@types/node/http2.d.ts(1484,19): error TS1005: ',' expected.\nnode_modules/@types/node/http2.d.ts(1484,40): error TS1005: ',' expected.\nnode_modules/@types/node/http2.d.ts(1484,52): error TS1109: Expression

error TS1005: ';' expected.\nnode_modules/@types/node/util.d.ts(1774,1): error TS1128: Declaration or statement expected.\nnode_modules/undici-types/balanced-pool.d.ts(22,12): error TS1005: ';' expected.\nnode_modules/undici-types/balanced-pool.d.ts(25,12): error TS1005: ';' expected.\nnode_modules/undici-types/client.d.ts(21,12): error TS1005: ';' expected.\nnode_modules/undici-types/client.d.ts(24,12): error TS1005: ';' expected.\nnode_modules/undici-types/pool.d.ts(20,12): error TS1005: ';' expected.\nnode_modules/undici-types/pool.d.ts(23,12): error TS1005: ';' expected.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! rates-functions@ build: tsc --build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the rates-functions@ build script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_cacache/_logs/2024-10-04T20_41_48_436Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! rates-functions@undefined prepare: npm run build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the rates-functions@undefined prepare script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2024-10-04T20_41_48_478Z-debug.log; Error ID: beaf8772"}`

i14h commented 1 week ago

unfortunately it seems the vendor (ShipEngine) is not maintaining this extension any more. @dackers86 lets deprecate the shipengine extensions. Sorry for the issue @sfreed. If you still need this extension you can clone the source code and edit it yourself