3

When I run firebase deploy, I get the following error:

TypeError Cannot read properties of null (reading 'length')

What do I do to fix this?

1 Answer 1

4

There is a bug in version 14.0.0. Upgrading to version 14.0.1 resolves the issue.

Run these commands:

npm uninstall -g firebase-tools
npm install -g [email protected]
Sign up to request clarification or add additional context in comments.

4 Comments

From bug #8378 I get the impression that the issues exists in CLI version 14.0.0, but is fixed in 14.0.1. If that is indeed the case, upgrading to that (just released hours ago) version should also fix the problem. If not, you might want to mention that in the linked issue.
@FrankvanPuffelen My mistake. Updating this answer.
Perfect. Thanks @Evorlor! 👍🔼
Actually useful, even cursor couldn't get that fix. It was trying to change my codes while what you mentionned worked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.