Closed fredericbarrau closed 1 year ago
On MacOS 12.6.1, using docker and the latest sensei image, any sensei command fails with the following message:
sensei latest: Pulling from zenika/sensei Digest: sha256:58fbef9a898c67cf6c815b7fcd0b94daac998ed63f695e2a69aa57df6f1ba2ba Status: Image is up to date for zenika/sensei:latest Processing folder '/training-material' as 'training-material' using slide size 1420x800 and language 'en' fatal: detected dubious ownership in repository at '/training-material' To add an exception for this directory, call: git config --global --add safe.directory /training-material /app/src/cli/cli.js:182 throw err; ^ Error: Command failed: git -c safe.directory=* rev-parse --short HEAD fatal: detected dubious ownership in repository at '/training-material' To add an exception for this directory, call: git config --global --add safe.directory /training-material at checkExecSyncError (node:child_process:828:11) at Object.execSync (node:child_process:899:15) at composeMaterialVersion (/app/src/build/webpack.config.js:188:8) at module.exports (/app/src/build/webpack.config.js:16:27) at serve (/app/src/cli/cli.js:50:13) at cli (/app/src/cli/cli.js:26:13) at Object.<anonymous> (/app/src/cli/cli.js:237:1) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) { status: 128, signal: null, output: [ null, Buffer(0) [Uint8Array] [], Buffer(182) [Uint8Array] [ 102, 97, 116, 97, 108, 58, 32, 100, 101, 116, 101, 99, 116, 101, 100, 32, 100, 117, 98, 105, 111, 117, 115, 32, 111, 119, 110, 101, 114, 115, 104, 105, 112, 32, 105, 110, 32, 114, 101, 112, 111, 115, 105, 116, 111, 114, 121, 32, 97, 116, 32, 39, 47, 116, 114, 97, 105, 110, 105, 110, 103, 45, 116, 101, 114, 114, 97, 102, 111, 114, 109, 39, 10, 84, 111, 32, 97, 100, 100, 32, 97, 110, 32, 101, 120, 99, 101, 112, 116, 105, 111, 110, 32, 102, 111, 114, 32, 116, 104, 105, ... 82 more items ] ], pid: 13, stdout: Buffer(0) [Uint8Array] [], stderr: Buffer(182) [Uint8Array] [ 102, 97, 116, 97, 108, 58, 32, 100, 101, 116, 101, 99, 116, 101, 100, 32, 100, 117, 98, 105, 111, 117, 115, 32, 111, 119, 110, 101, 114, 115, 104, 105, 112, 32, 105, 110, 32, 114, 101, 112, 111, 115, 105, 116, 111, 114, 121, 32, 97, 116, 32, 39, 47, 116, 114, 97, 105, 110, 105, 110, 103, 45, 116, 101, 114, 114, 97, 102, 111, 114, 109, 39, 10, 84, 111, 32, 97, 100, 100, 32, 97, 110, 32, 101, 120, 99, 101, 112, 116, 105, 111, 110, 32, 102, 111, 114, 32, 116, 104, 105, ... 82 more items ] }
Apparently related to git update to 2.35.2 (see here ) in the base image.
(PR incoming).
On MacOS 12.6.1, using docker and the latest sensei image, any sensei command fails with the following message:
Apparently related to git update to 2.35.2 (see here ) in the base image.
(PR incoming).