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
Cannot set property config of #<Object> which has only a getter #2301
Comments
@boddy33 huh ok that's extremely strange. Is there absolutely nothing else |
Looks like its a bug in emulator runtime.
|
Looks like this is an issue with v8.x.x. Downgrading to v7.16.2 works. |
I have a feeling this may be related to today's firebase-functions release: |
I should be something very recent. Looking at other issues, v8.x.x emulator was working at some point (and v8.4.0 was released a week ago). |
hi, thanks @uditha-atukorala it works :) when you install package firebase-functions@3.6.0 then |
Fix is coming in #2302 ... if it's approved and merged we'll try to release ASAP |
Running into the exact same issue. macOS |
this has had me stumped for the last few hours. I have the same
|
we are waiting curious for approval |
The fix was just released in version |
thank you for that...just in time |
validated. Thank you. |
@samtstern ^ |
@jakubjodelka can you try clearing your |
Thanks. Working for me now. |
I'm still getting it I did all the above, any thoughts? |
@COFFEEEADDICT check that |
Hi guys, I've received this error after an update in the In my case, the solution was to delete |
Hello guys, The first check which version you've installed mine was 8.1.1
This will install latest version 8.4.1 I hope you've fixed the issue. |
working thanks @iamsrujal |
I'm still getting the issue any help ? System Package Versions: The command I executed: Console Output: |
I'm having this same issue and it doesn't go away even after updating firebase-tools. When I try to run the emulator it fails. In the firebase-debug.log it shows:
How can I fix it? Totally stuck here... |
For those still experiencing this issue: if you can reproduce this issue on a freshly initialized project in a way that we can copy, file a new issue and we will try it. |
In case it helps anyone: I had to use the explicit version to upgrade the tools and then the problem went away: |
System Update as of 09/07/2020 this issues still exists while using |
Same setup as JohnGeorgiadis. Same problem...
Played around with different versions of various dependencies to no resolve. |
Maybe this is helpful to somebody: My linux was using "/usr/local/lib/node_modules/firebase-tools/lib/bin/firebase.js" anytime I typed "firebase" in the console, so it was using the 7.12.0 version of the package. I changed the symbolic link, and now I'm sure that I'm using the 8.6.0 version.
The word local is the key |
A global install will install firebase-tools in '/usr/local/lib/node_modules'. However, the issue that highlighted by OP points to a different path : '/usr/lib/node_modules/firebase-tools/'. A firebase -V returned 7.0.2 Here is a relevant comment (from a discussion here : https://stackoverflow.com/q/5926672/7461599)
What did it for me was to |
In case it helps, I had conflict between my global npm |
i was getting above error due to different node version used in during
I solved the issue by making same node version |
How do I undo sudo rm firebase |
You can't (easily). I would try to find a similar binary and place in the same path |
[REQUIRED] Environment info
firebase-tools: 8.4.0
Platform: Windows
[REQUIRED] Test case
index.js
[REQUIRED] Steps to reproduce
the initial emulate worked fine
the initial and subsequent deploys work fine
the function works fine in production
not able to emulate locally anymore.
Console output:
In addition to this issue, it is not clear from output what happened. Nothing in debug logs.
[REQUIRED] Expected behavior
Emulator starts
[REQUIRED] Actual behavior
Emulator fails to start
The text was updated successfully, but these errors were encountered: