Firebase implementa errores que comienzan con un código de salida distinto de cero (espacio en la ruta del proyecto)

Estaba teniendo problemas con el comando de implementación de Firebase recientemente. Después del comando de implementación de Firebase, todos los demás se implementaron, excepto Firebase (almacenamiento, base de datos, etc.) Así que decidí reinstalar Firebase para solucionar esta situación, pero después de reinstalar mi problema se agravó. Ahora ninguno de ellos se implementa con el siguiente error:

i deploying database, functions
Running command: npm --prefix $RESOURCE_DIR run lint
npm ERR! path C:\Users\faruk\Google Drive\Android\firebase\1\$RESOURCE_DIR\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\faruk\Google Drive\Android\firebase\1\$RESOURCE_DIR\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\faruk\AppData\Roaming\npm-cache\_logs\2018-01-24T18_21_34_878Z-debug.log

Error: functions predeploy error: Command terminated with non-zero exit code4294963238

Después de un poco de investigación, vi algunos temas sobre esto que consejos para cambiar

$RESOURCE_DIR to %RESOURCE_DIR%

en sistemas Windows (estoy usando Windows 10 por cierto). Entonces, edité mifirebase.json archivo que está en un nivel superior de mi carpeta de funciones. Me gusta esto. (No sé si este es el archivo correcto que debería editar)

  "database": {
    "rules": "database.rules.json"
  },
  "functions": {
    "predeploy": [
      "npm --prefix %RESOURCE_DIR% run lint"
    ]
  }
}

pero después de esta edición, comencé a recibir otro mensaje de error como este.

i  deploying database, functions
Running command: npm --prefix %RESOURCE_DIR% run lint

Usage: npm <command>

where <command> is one of:
    access, adduser, bin, bugs, c, cache, completion, config,
    ddp, dedupe, deprecate, dist-tag, docs, doctor, edit,
    explore, get, help, help-search, i, init, install,
    install-test, it, link, list, ln, login, logout, ls,
    outdated, owner, pack, ping, prefix, profile, prune,
    publish, rb, rebuild, repo, restart, root, run, run-script,
    s, se, search, set, shrinkwrap, star, stars, start, stop, t,
    team, test, token, tst, un, uninstall, unpublish, unstar,
    up, update, v, version, view, whoami

npm <command> -h     quick help on <command>
npm -l           display full usage info
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    C:\Users\faruk\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

[email protected] C:\Program Files\nodejs\node_modules\npm

Error: functions predeploy error: Command terminated with non-zero exit code1

Cualquier consejo es apreciado. Gracias por adelantado.

Respuestas a la pregunta(8)

Su respuesta a la pregunta