GithubHelp home page GithubHelp logo

Comments (8)

3llomi avatar 3llomi commented on June 8, 2024 1

@xlwknx i just went to Virgil Dashboard and i saw that you've changed the Button 'Generate Config' file to 'Generate .env' file, so i downloaded this file and rename it to .env and now everything is working great.
Thanks Man!

from virgil-e3kit-firebase-func.

xLEWKANx avatar xLEWKANx commented on June 8, 2024

Hi @3llomi
We changed structure of the configuration file. I've updated this repository, so please pull last changes

git pull

then, run configuration again:

npm run configure

and try to deploy again:

firebase deploy --only functions

Please write if you'll have some problems.

from virgil-e3kit-firebase-func.

3llomi avatar 3llomi commented on June 8, 2024

Thanks! it's working now

from virgil-e3kit-firebase-func.

3llomi avatar 3llomi commented on June 8, 2024

@xlwknx i've got the same issue again now after updating to latest version (on a new project).
can you check it please?

from virgil-e3kit-firebase-func.

xLEWKANx avatar xLEWKANx commented on June 8, 2024

@3llomi Did you use same config file?
If so, we changed the format for configuration file. You can download a new one on the Virgil Dashboard in E3Kit section.

  1. Or rename it to .env;
  2. Change format from JSON to env
APP_ID=7bc750be191344fea619fb232586fb05
APP_KEY_ID=ccb8e6c13469cbebdf83881d133593ed
APP_KEY=YOUR_PRIVATE_KEY

from virgil-e3kit-firebase-func.

jWarrenDev avatar jWarrenDev commented on June 8, 2024

Hi! I am actually having the same issues and I have also git pulled and it is up to date. Error: Illegal arguments for function privateKeyToDER

from virgil-e3kit-firebase-func.

xLEWKANx avatar xLEWKANx commented on June 8, 2024

Hi, @jWarrenDev
Please make sure, that you followed instruction correctly.
If problem occurs again, send here next information:

  1. Output of npm run configure command.
  2. Screenshot of files in repository with extensions (should look like this):
    Screenshot 2019-10-31 at 12 02 10

from virgil-e3kit-firebase-func.

jWarrenDev avatar jWarrenDev commented on June 8, 2024

Thank You! It seems that when the .env file is downloaded it formats it as a .txt file. Even after renaming the file I had to go into "get info" and make sure the .txt was removed. That fixed the error.

from virgil-e3kit-firebase-func.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.