sudo expo install firebase not working

Please provide the following:

  1. SDK Version: 38.0.0
  2. Platforms(Android/iOS/web/all): all

Hi! Trying to install firebase with expo. I ran: sudo expo install firebase
and received this error:

Installing 1 SDK 38.0.0 compatible native module using npm.
npm install
npm ERR! code EACCES
npm ERR! syscall rename
npm ERR! path /mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map
npm ERR! dest /mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rename ‘/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map’ → ‘/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395’
npm ERR! { [Error: EACCES: permission denied, rename ‘/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map’ → ‘/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395’]
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, rename ‘/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map’ → ‘/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395’
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘rename’,
npm ERR! path:
npm ERR! ‘/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map’,
npm ERR! dest:
npm ERR! ‘/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395’ },
npm ERR! stack:
npm ERR! ‘Error: EACCES: permission denied, rename '/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map' → '/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395'’,
npm ERR! errno: -13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘rename’,
npm ERR! path:
npm ERR! ‘/mnt/d/code/myProjects/commune/node_modules/.staging/grpc-00dda93f/node_modules/concat-map’,
npm ERR! dest:
npm ERR! ‘/mnt/d/code/myProjects/commune/node_modules/.staging/concat-map-327ad395’ }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/zeyi/.npm/_logs/2020-08-21T03_53_28_700Z-debug.log
npm exited with non-zero code: 243

same issue

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.