You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
erhalte ich den folgenden Fehler:
Dies lässt sich relativ einfach beheben, in dem die entsprechende Code-Zeile angepasst wird.
habatu-tournament-manager/habatu-frontend/src/components/DashboardTable.vue
Line 71 in cff5e22
Anschliessend erhalte ich aber einen weiteren Fehler während dem Build für
habatu-backend
.Was mache ich falsch? Bzw. muss ich in
.env.production
noch etwas anpassen?habatu-tournament-manager/habatu-frontend/.env.production
Lines 1 to 2 in cff5e22
The text was updated successfully, but these errors were encountered: