run firebase deploy on ionic

0

When running Firebase deploy I have an error that I could not resolve. this is what the console prints with a debug.

PS C:\Users\Marco\Developer\MyApps\MyAppGas> firebase deploy --debug
[2018-02-21T12:49:21.039Z] ----------------------------------------------------------------------
[2018-02-21T12:49:21.045Z] Command:       C:\Program Files\nodejs\node.exe C:\Users\Marco\AppData\Roaming\npm\node_modules\firebase-tools\bin\firebase deploy --debug
[2018-02-21T12:49:21.047Z] CLI Version:   3.17.4
[2018-02-21T12:49:21.047Z] Platform:      win32
[2018-02-21T12:49:21.047Z] Node Version:  v7.9.0
[2018-02-21T12:49:21.048Z] Time:          Wed Feb 21 2018 13:49:21 GMT+0100 (Hora estándar romance)
[2018-02-21T12:49:21.049Z] ----------------------------------------------------------------------

[2018-02-21T12:49:21.070Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"][2018-02-21T12:49:21.071Z] > authorizing via signed-in user
[2018-02-21T12:49:21.076Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/projects/my-app-gas

 Wed Feb 21 2018 13:49:21 GMT+0100 (Hora estándar romance)
[2018-02-21T12:49:21.837Z] <<< HTTP RESPONSE 200 server=nginx, date=Wed, 21 Feb 2018 12:49:21 GMT, content-type=application/json; charset=utf-8, content-length=105, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store
[2018-02-21T12:49:21.839Z] >>> HTTP REQUEST GET https://admin.firebase.com/v1/database/my-app-gas/tokens

 Wed Feb 21 2018 13:49:21 GMT+0100 (Hora estándar romance)
[2018-02-21T12:49:22.671Z] <<< HTTP RESPONSE 200 server=nginx, date=Wed, 21 Feb 2018 12:49:21 GMT, content-type=application/json; charset=utf-8, content-length=258, connection=close, x-content-type-options=nosniff, strict-transport-security=max-age=31536000; includeSubdomains, cache-control=no-cache, no-store

=== Deploying to 'my-app-gas' ...

i deploying functions

Running command: npm --prefix $RESOURCE_DIR run lint
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "--prefix" "$RESOURCE_DIR" "run" "lint"
npm ERR! node v7.9.0
npm ERR! npm  v4.2.0
npm ERR! path C:\Users\Marco\Developer\MyApps\MyAppGas\$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\Marco\Developer\MyApps\MyAppGas\$RESOURCE_DIR\package.json'
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Marco\Developer\MyApps\MyAppGas\$RESOURCE_DIR\package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Marco\AppData\Roaming\npm-cache\_logs18-02-21T12_49_25_792Z-debug.log

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

Having trouble? Try firebase deploy --help

    
asked by mserradas 21.02.2018 в 13:53
source

0 answers