Skip to content

[Bug]: Unable to setup a project for the first time #356

Description

@glsee

Preflight

  • I searched existing issues and this isn't a duplicate
  • I'm on the latest version (or I've noted my version below)

What happened?

I'm getting errors when setting up a project on a freshly installed OpenKnowledge on Mac.

Here's the message I get when attempting to set up a project by selecting "Open folder on disk":
Image

When attempt to set up by selecting "Create new project". The error message is "Project folder created, but git init failed. Try again."

When attempt to "Clone from GitHub", an error toast message shows up:

Image

Steps to reproduce

  1. Install OpenKnowledge
  2. Click "Create new project", or "Open folder on disk", or "Clone from GitHub"
  3. Receive error message.

Platform

macOS (Apple Silicon)

How did you install Open Knowledge?

Desktop app (DMG)

Version

0.19.2

Logs, errors, or screenshots

Project folder created, but git init failed. Try again.

---

git init failed at /Users/Kaiden/Vault: Command failed: git init --initial-branch=main /Users/Kaiden/Vault
xcrun: error: unable to load libxcrun (dlopen(/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib, 0x0005): tried: '/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e'))).

---

Clone failed: xcrun: error: unable to load libxcrun (dlopen(/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib, 0x0005): tried: '/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e'))).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions