-
Notifications
You must be signed in to change notification settings - Fork 928
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
Emulator socket fails on Windows with EACCES #1280
Comments
Same here. On my side, not working with 6.8.0 because I'm node 8 and it requires node 6 |
Thanks for the report @jkarst, looks like we've got a handful of Windows-exclusive issues. I'll dive into issues on there specifically today. Sorry for the inconvience, in the meantime feel free to |
I can confirm this is happening for me as well. Reverting to the previous version resolved the issue. |
Same here with 6.9.2 on Windows and Node 10. Reverted back to 6.8.0. |
Seeing the same issue. @epomatti how do you revert? |
You should be able to downgrade via |
@brendanosborne run |
Thanks @epomatti and @ryanmeier - I'm back in business until this is resolved. |
Alright, I've found a fix for this and will hopefully get it in for the |
Fix for this has been merged and will be included in the next release. |
Thanks. Spent many hours on this, thinking it was my fault. |
@vdGitAway I've upgraded to 6.10.0 and it is working for me until now. It fixed this bug and many others. Give it a try. If you have any problems delete I also had to include the following dev dependency, otherwise the code would not run:
Since you're on it, run |
I'm having this issue and I'm on 8.2.0 |
I am still seeing this issue as of today. |
I have this issue too I'm on windows 10
|
[REQUIRED] Environment info
**firebase-tools:**6.9.2
**Platform:**Windows
[REQUIRED] Test case
With 6.9.2 I try to emulate functions locally and get this whenever I call a function:
`! Your requested "node" version "8" doesn't match your global version "10"
i functions: Watching "[removed]" for Cloud Functions...
! Default "firebase-admin" instance created!
i functions: HTTP trigger initialized at https://localhost:5000/[removed]/us-central1/helloWorld
i functions: Beginning execution of "helloWorld"
! Default "firebase-admin" instance created!
This behaviour was not present in 6.8.0 and I just verified that 6.8.0 works.
I even reinstalled Windows to double check (don't worry, it was time to do it anyway).
Note that I'm running firebase tools as the administrator, so not sure where the permission denied error is coming from.
Also note that when I run a basic express server:
`const express = require('express')
const app = express()
const port = "c:\temp\f.sock"
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(port, () => console.log(
Example app listening on port ${port}!
))`I get the same error.
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
The function should run.
[REQUIRED] Actual behavior
The function crashes.
The text was updated successfully, but these errors were encountered: