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 tooling requires upgrade in order to work #1

Open
hmavrodiev opened this issue Nov 1, 2017 · 1 comment
Open

Firebase tooling requires upgrade in order to work #1

hmavrodiev opened this issue Nov 1, 2017 · 1 comment

Comments

@hmavrodiev
Copy link

hmavrodiev commented Nov 1, 2017

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.

@hmavrodiev hmavrodiev changed the title installation on windows is it possible? How to setup the bot? Nov 1, 2017
@balupton
Copy link
Member

Firebase keeps updating their API, so this repository will no longer work with the latest firebase APIs.

A few people have upgraded the repo to work with the latest firebase, but they never bothered to submit their changes.

I've been working on accomplishing the roadmap via set of new projects.

If anyone wishes to get this project up to date with firebase in the meantime, that would be helpful.

@balupton balupton changed the title How to setup the bot? Firebase tooling requires upgrade in order to work Jun 25, 2018
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

2 participants