Skip to content

Firebase tooling requires upgrade in order to work #1

@hmavrodiev

Description

@hmavrodiev

uploads and downloads. You can keep these rules in your project directory
and publish them with firebase deploy.

? What file should be used for Storage Rules? storage.rules

i Writing configuration info to firebase.json...
i Writing project information to .firebaserc...

  • Firebase initialization complete!

C:\Users\HMA\google2>firebase deploy --only functions
1

=== Deploying to 'automated-trading-e6cfe'...

i deploying functions
i functions: ensuring necessary APIs are enabled...
i runtimeconfig: ensuring necessary APIs are enabled...

  • runtimeconfig: all necessary APIs are enabled
  • functions: all necessary APIs are enabled
    i functions: preparing functions directory for uploading...
    i functions: packaged functions (35.69 KB) for uploading
  • functions: functions folder uploaded successfully
    i starting release process (may take several minutes)...
    i functions: creating function version...
    i functions: creating function createUser...
    i functions: creating function parse...
    i functions: creating function bitfinex_createService...
    i functions: creating function bitfinex_fetchBalances...
    i functions: creating function bitfinex_createOrder...
    i functions: creating function itbit_createService...
    i functions: creating function itbit_fetchTicker...
    i functions: creating function itbit_fetchWallets...
    i functions: creating function itbit_fetchWallet...
    i functions: creating function itbit_createOrder...
    i functions: creating function drivewealth_createService...
    i functions: creating function drivewealth_createSession...
    i functions: creating function drivewealth_getAccountSummary...
    i functions: creating function drivewealth_getAccount...
    i functions: creating function drivewealth_getInstrument...
    i functions: creating function drivewealth_createOrder...
    ! functions[createUser]: Deploy Error: Function load error: Code in file index.
    js can't be loaded.
    Is there a syntax error in your code?
    Detailed stack trace: Error: EIO: i/o error, read
    at Error (native)
    at Object.fs.readSync (fs.js:732:19)
    at tryReadSync (fs.js:487:20)
    at Object.fs.readFileSync (fs.js:527:19)
    at Object.Module._extensions..js (module.js:578:20)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
  • functions[version]: Successful create operation.
  • functions[parse]: Successful create operation.
  • functions[bitfinex_createService]: Successful create operation.
  • functions[bitfinex_fetchBalances]: Successful create operation.
  • functions[bitfinex_createOrder]: Successful create operation.
  • functions[itbit_createService]: Successful create operation.
  • functions[itbit_fetchTicker]: Successful create operation.
  • functions[itbit_fetchWallets]: Successful create operation.
  • functions[itbit_fetchWallet]: Successful create operation.
  • functions[itbit_createOrder]: Successful create operation.
  • functions[drivewealth_createService]: Successful create operation.
  • functions[drivewealth_createSession]: Successful create operation.
  • functions[drivewealth_getAccountSummary]: Successful create operation.
  • functions[drivewealth_getAccount]: Successful create operation.
  • functions[drivewealth_getInstrument]: Successful create operation.
  • functions[drivewealth_createOrder]: Successful create operation.
  • functions: 16 function(s) deployed successfully.

Functions deploy had errors. To continue deploying other features (such as datab
ase), run:
firebase deploy --except functions

Error: Functions did not deploy properly.

C:\Users\HMA\google2>http -f POST https://VALUE.cloudfunctions.net/createUser
'http' is not recognized as an internal or external command,
operable program or batch file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions