Build and deployment failed due to an error.
See original GitHub issueI’ve no exact title for this error, but it’s not working for me.
node_modules/firestore-export-import/node_modules/@google-cloud/firestore/types/firestore.d.ts(117,29): error TS1005: ']' expected.
node_modules/firestore-export-import/node_modules/@google-cloud/firestore/types/firestore.d.ts(117,48): error TS1005: ';' expected.
node_modules/firestore-export-import/node_modules/@google-cloud/firestore/types/firestore.d.ts(117,50): error TS1109: Expression expected.
node_modules/firestore-export-import/node_modules/@google-cloud/firestore/types/firestore.d.ts(117,51): error TS1109: Expression expected.
node_modules/firestore-export-import/node_modules/@google-cloud/firestore/types/firestore.d.ts(2278,1): error TS1128: Declaration or statement expected.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! functions@ build: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the functions@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-09-15T10_33_21_750Z-debug.log
Error: functions predeploy error: Command terminated with non-zero exit code2
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
Below are a few package versions I’m using atm…
firebase-tools@10.9.2
"typescript": "^4.0.3"
"firebase-admin": "^9.2.0",
"firebase-functions": "^3.13.2",
"firebase-functions-helper": "^0.8.0",
"firestore-export-import": "^1.2.1",
Tried upgrade, downgrading and other stuff but nothing is working.
firebase deploy --project staging --token $FIREBASE_TOKEN
Issue Analytics
- State:
- Created a year ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Build errors during deployment to GitHub Pages · Issue #209
I am failed to deploy the ai-folio theme in my personal repository. Even I don't find any fruitful reason why it is happening....
Read more >Build error details not available. Firebase Cloud Functions ...
functions[helloWorld(us-central1)]: Deployment error. Build failed: Build error details not available. Please check the logs at https://console.
Read more >"Error building project: The build hook failed with status code 1".
Cause. There are multiple reasons why environment building fails. Usually, in the deployment log, you will see a long error message, where the ......
Read more >Deploy failed due to an error in @netlify/plugin-functions-core ...
Works super on my local, but can't deploy. This function it complains of used to get build two months ago until last week....
Read more >CSCvy55676 - FMC Deployment failed due to ... - Cisco Bug
Symptom: On FMC deployment transcript, you can see that deployment fails due to internal errors. Doing a pigtail deploy, you can see the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s probably you have an older version of Node. Here is a similar error https://github.com/HashLips/hashlips_art_engine/issues/424
Looks like it relates to @google-cloud packages. Do you have a sample repo that I can have a look at?