Git Product home page Git Product logo

habatu-tournament-manager's People

Contributors

tobifra avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

habatu-tournament-manager's Issues

Incomplete Instructions for Local Setup

Ich habe versucht dein tournament manager local zum Laufen zu bringen. Ich bin dabei deinen Instructions im Readme gefolgt (Lokale Installation). Leider ohne Erfolg...

Nach dem Ausführen von

docker-compose -f docker-compose.local.yml build

erhalte ich den folgenden Fehler:

-  Building for production...
 ERROR  Failed to compile with 1 error2:42:44 PM

[eslint] 
/app/src/components/DashboardTable.vue
  71:4  error  Mixed spaces and tabs  no-mixed-spaces-and-tabs

✖ 1 problem (1 error, 0 warnings)


You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
 ERROR  Error: Build failed with errors.
Error: Build failed with errors.
    at /app/node_modules/@vue/cli-service/lib/commands/build/index.js:207:23
    at /app/node_modules/webpack/lib/webpack.js:148:8
    at /app/node_modules/webpack/lib/HookWebpackError.js:68:3
    at Hook.eval [as callAsync] (eval at create (/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/app/node_modules/tapable/lib/Hook.js:18:14)
    at Cache.shutdown (/app/node_modules/webpack/lib/Cache.js:150:23)
    at /app/node_modules/webpack/lib/Compiler.js:1225:15
    at Hook.eval [as callAsync] (eval at create (/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/app/node_modules/tapable/lib/Hook.js:18:14)
    at Compiler.close (/app/node_modules/webpack/lib/Compiler.js:1218:23)
The command '/bin/sh -c npm run build' returned a non-zero code: 1
ERROR: Service 'frontend' failed to build : Build failed

Dies lässt sich relativ einfach beheben, in dem die entsprechende Code-Zeile angepasst wird.

Anschliessend erhalte ich aber einen weiteren Fehler während dem Build für habatu-backend.

models/game.model.ts(6,3): error TS2322: Type '{ type: typeof Schema.Types.ObjectId; ref: string; autopopulate: true; }' is not assignable to type 'SchemaDefinitionProperty<string> | undefined'.
  Types of property 'type' are incompatible.
    Type 'typeof ObjectId' is not assignable to type 'typeof Mixed | StringSchemaDefinition | undefined'.
      Type 'typeof ObjectId' is not assignable to type 'typeof Mixed'.
        Types of property 'schemaName' are incompatible.
          Type '"ObjectId"' is not assignable to type '"Mixed"'.
models/game.model.ts(7,3): error TS2322: Type '{ type: typeof Schema.Types.ObjectId; ref: string; autopopulate: true; }' is not assignable to type 'SchemaDefinitionProperty<string> | undefined'.
  Types of property 'type' are incompatible.
    Type 'typeof ObjectId' is not assignable to type 'typeof Mixed | StringSchemaDefinition | undefined'.
models/game.model.ts(8,3): error TS2322: Type '{ type: typeof Schema.Types.ObjectId; ref: string; autopopulate: true; }' is not assignable to type 'SchemaDefinitionProperty<string> | undefined'.
  Types of property 'type' are incompatible.
    Type 'typeof ObjectId' is not assignable to type 'typeof Mixed | StringSchemaDefinition | undefined'.
models/user.model.ts(10,3): error TS2322: Type '{ type: typeof Schema.Types.ObjectId; ref: string; autopopulate: true; }' is not assignable to type 'SchemaDefinitionProperty<string> | undefined'.
  Types of property 'type' are incompatible.
    Type 'typeof ObjectId' is not assignable to type 'typeof Mixed | StringSchemaDefinition | undefined'.
The command '/bin/sh -c npm run build' returned a non-zero code: 2
ERROR: Service 'habatu-backend' failed to build : Build failed

Was mache ich falsch? Bzw. muss ich in .env.production noch etwas anpassen?

VUE_APP_FRONTEND_HOST=http://localhost
VUE_APP_BACKEND_HOST=http://localhost:8000

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.