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 init error on windows with antivirus #362

Closed
PovilasID opened this issue Jun 3, 2017 · 2 comments
Closed

Firebase init error on windows with antivirus #362

PovilasID opened this issue Jun 3, 2017 · 2 comments

Comments

@PovilasID
Copy link

Firebase tools threw an error on my windows machine. Disabling bitdefender fixed it. Cudos: expo/create-react-native-app#191 (comment)

However, here is the error log

12333 verbose stack Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12333 verbose stack     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
12333 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
12333 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)
12333 verbose stack
12333 verbose stack Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12333 verbose stack     at Error (native)
12334 verbose cwd C:\Users\THEUSER\THEREPOSITRY\functions
12335 error Windows_NT 10.0.15063
12336 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
12337 error node v6.10.2
12338 error npm  v3.10.10
12339 error path C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5
12340 error code EPERM
12341 error errno -4048
12342 error syscall rename
12343 error Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12343 error     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
12343 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
12343 error     at FSReqWrap.oncomplete (fs.js:123:15)
12343 error
12343 error Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12343 error     at Error (native)
12343 error  { Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12343 error     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
12343 error     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
12343 error     at FSReqWrap.oncomplete (fs.js:123:15)
12343 error
12343 error Error: EPERM: operation not permitted, rename 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\.staging\@types\express-9bff9cb5' -> 'C:\Users\THEUSER\THEREPOSITRY\functions\node_modules\@types\express'
12343 error     at Error (native) parent: 'functions' }
12344 error Please try running this command again as root/Administrator.
12345 verbose exit [ -4048, true ]
@mbleigh
Copy link
Contributor

mbleigh commented Jun 3, 2017 via email

@mbleigh mbleigh closed this as completed Jun 14, 2017
@jhill072
Copy link

I was receiving this same error, and to get around this issue I used the --no-localhost option when running firebase login.

yuchenshi pushed a commit that referenced this issue Sep 18, 2024
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

No branches or pull requests

3 participants