Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Install Failing #40

Open
adamwass7 opened this issue Jul 25, 2022 · 7 comments · May be fixed by #41
Open

Firebase Install Failing #40

adamwass7 opened this issue Jul 25, 2022 · 7 comments · May be fixed by #41

Comments

@adamwass7
Copy link

Use the details below to help resolve this error, then retry installing the extension. If you continue to get this error, we recommend uninstalling the extension to remove any extension resources that might be deployed.

; RESOURCE_ERROR at /deployments/firebase-ext-track-labels/resources/trackingWebhook: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: ...d.\nnode_modules/@types/humps/index.d.ts(38,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,12): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,34): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,40): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,44): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,46): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,59): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,61): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,81): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(51,62): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,63): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,70): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,74): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,81): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,85): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,92): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,8): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,13): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,36): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,42): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,46): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,48): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,62): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,64): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,78): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,80): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,100): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(105,1): error TS1160: Unterminated template literal.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@ build: tsc --build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-07-25T21_18_29_742Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@undefined prepare: npm run build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-07-25T21_18_29_780Z-debug.log; Error ID: beaf8772"}; RESOURCE_ERROR at /deployments/firebase-ext-track-labels/resources/trackLabel: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: ...d.\nnode_modules/@types/humps/index.d.ts(38,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,12): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,34): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,40): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,44): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,46): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,59): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,61): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,81): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(51,62): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,63): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,70): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,74): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,81): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,85): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,92): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,8): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,13): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,36): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,42): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,46): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,48): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,62): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,64): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,78): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,80): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,100): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(105,1): error TS1160: Unterminated template literal.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@ build: tsc --build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-07-25T21_18_35_461Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@undefined prepare: npm run build\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-07-25T21_18_35_503Z-debug.log; Error ID: beaf8772"}

@dackers86
Copy link
Contributor

Thanks @adamwass7.

yamankatby added a commit to yamankatby/shipengine-firebase-extensions that referenced this issue Jul 27, 2022
@yamankatby yamankatby linked a pull request Jul 27, 2022 that will close this issue
@adamwass7
Copy link
Author

Not trying to rush anyone here, but is there any update on when the PR will be merged here? Patiently waiting on starting to use this :)

@eyaljoyous
Copy link

having the same issue, this is major issue, can this be merged and be available on production?
@dackers86 @yamankatby can you help?

@eyaljoyous
Copy link

i ended up manually configuring the extension from the patched code.... not sure why it should take that long to update such a critical bug.

@WilliamFischer
Copy link

WilliamFischer commented Nov 8, 2022

Tried using this for the first time but ran into this issue. :( Quite a shame because it seems a perfect solution for me. Is there a known workaround for this? Or an ETA on its patch??

Surely this is the most urgent of issues considering it totally prevents use of the extension.

Use the details below to help resolve this error, then retry installing the extension. If you continue to get this error, we recommend uninstalling the extension to remove any extension resources that might be deployed.

; RESOURCE_ERROR at /deployments/firebase-ext-track-labels/resources/trackLabel: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: ...d.\nnode_modules/@types/humps/index.d.ts(38,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,12): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,34): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,40): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,44): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,46): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,59): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,61): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,81): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(51,62): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,63): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,70): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,74): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,81): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,85): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,92): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,8): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,13): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,36): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,42): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,46): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,48): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,62): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,64): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,78): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,80): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,100): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(105,1): error TS1160: Unterminated template literal.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@ build: `tsc --build`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-11-08T08_02_50_976Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@undefined prepare: `npm run build`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-11-08T08_02_51_016Z-debug.log; Error ID: beaf8772"}; RESOURCE_ERROR at /deployments/firebase-ext-track-labels/resources/trackingWebhook: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: ...d.\nnode_modules/@types/humps/index.d.ts(38,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,12): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,34): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,40): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,44): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(38,46): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,59): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(38,61): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(38,81): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(51,62): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,63): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,70): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,74): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,81): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,85): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(51,92): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,8): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,9): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,13): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,36): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,42): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,46): error TS1005: ',' expected.\nnode_modules/@types/humps/index.d.ts(52,48): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,62): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,64): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,78): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(52,80): error TS1005: ';' expected.\nnode_modules/@types/humps/index.d.ts(52,100): error TS1005: '(' expected.\nnode_modules/@types/humps/index.d.ts(105,1): error TS1160: Unterminated template literal.\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@ build: `tsc --build`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-11-08T08_02_51_585Z-debug.log\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! track-label-functions@undefined prepare: `npm run build`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the track-label-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/2022-11-08T08_02_51_627Z-debug.log; Error ID: beaf8772"}

@MATTYGILO
Copy link

I am getting this error and it is a year on!

@dackers86
Copy link
Contributor

Hi @eyaljoyous @WilliamFischer @MATTYGILO

This does indeed need to be published by the ShipEngine team.

In the meantime if you would like to install the extension, you can do so manually....

Step 1: Pull the tagged PR version of this software from here #41
Step 2: npm install
Step 3: Ensure you have the Firebase CLI installed (https://firebaseopensource.com/projects/firebase/firebase-tools/)
Step 4: mkdir _emulator && cd _emulator
Step 5: firebase init
Step 5: firebase ext:install ../extensions/firebase-ext-track-labels --project={PROJECT_ID}
Step 6: firebase deploy --only extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants