GithubHelp home page GithubHelp logo

resonatecoop / upload Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 1.29 MB

Upload service

Home Page: https://dash.resonate.coop/api/user/upload

License: GNU General Public License v3.0

Dockerfile 0.97% Pug 1.98% CSS 1.05% JavaScript 96.01%

upload's People

Contributors

auggod avatar peterklingelhofer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

upload's Issues

Unable to proceed past `npm run dev`, missing .env values

~/Dev/upload main ❯ npm run dev         17:58:48

> [email protected] dev
> NODE_TLS_REJECT_UNAUTHORIZED=0 DEBUG=koa-mount babel-node -r ./node_modules/dotenv-safe/config ./src/server.js


/Users/peterklingelhofer/Dev/upload/node_modules/dotenv-safe/index.js:31
            throw new MissingEnvVarsError(allowEmptyValues, options.path || '.env', example, missing, dotenvResult.error);
            ^
MissingEnvVarsError: The following variables were defined in .env.example but are not present in the environment:
  APP_KEY, APP_KEY_2, APP_EMAIL, B2_APPLICATION_KEY_ID, B2_APPLICATION_KEY, B2_BUCKET_ID, B2_ARCHIVE_APPLICATION_KEY_ID, B2_ARCHIVE_APPLICATION_KEY, B2_ARCHIVE_BUCKET_ID, B2_ARTWORK_ARCHIVE_APPLICATION_KEY_ID, B2_ARTWORK_ARCHIVE_APPLICATION_KEY, B2_ARTWORK_ARCHIVE_BUCKET_ID, MYSQL_DB_USER, MYSQL_DB_PASS, MYSQL_DB_NAME, MAILGUN_SENDER
Make sure to add them to .env or directly to the environment.

If you expect any of these variables to be empty, you can use the allowEmptyValues option:
require('dotenv-safe').config({
  allowEmptyValues: true
});
    at Object.config (/Users/peterklingelhofer/Dev/upload/node_modules/dotenv-safe/index.js:31:19)
    at /Users/peterklingelhofer/Dev/upload/node_modules/dotenv-safe/config.js:9:18
    at Object.<anonymous> (/Users/peterklingelhofer/Dev/upload/node_modules/dotenv-safe/config.js:10:3)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Module._compile (/Users/peterklingelhofer/Dev/upload/node_modules/pirates/lib/index.js:136:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Object.newLoader [as .js] (/Users/peterklingelhofer/Dev/upload/node_modules/pirates/lib/index.js:141:7)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19) {
  missing: [
    'APP_KEY',
    'APP_KEY_2',
    'APP_EMAIL',
    'B2_APPLICATION_KEY_ID',
    'B2_APPLICATION_KEY',
    'B2_BUCKET_ID',
    'B2_ARCHIVE_APPLICATION_KEY_ID',
    'B2_ARCHIVE_APPLICATION_KEY',
    'B2_ARCHIVE_BUCKET_ID',
    'B2_ARTWORK_ARCHIVE_APPLICATION_KEY_ID',
    'B2_ARTWORK_ARCHIVE_APPLICATION_KEY',
    'B2_ARTWORK_ARCHIVE_BUCKET_ID',
    'MYSQL_DB_USER',
    'MYSQL_DB_PASS',
    'MYSQL_DB_NAME',
    'MAILGUN_SENDER'
  ],
  sample: '.env.example',
  example: '.env.example'
}

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.