Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

through compiling it, the app won't run #139

Open
MaxBrandtner opened this issue Dec 16, 2022 · 1 comment
Open

through compiling it, the app won't run #139

MaxBrandtner opened this issue Dec 16, 2022 · 1 comment

Comments

@MaxBrandtner
Copy link

here is the error
FATAL: config.json not found in note tree, and default_config.json not found in data tree!

I tried to move the json file to the correct dir, but it didn't work

@blackhole89
Copy link
Owner

What directory are you running it from, and what is the directory you moved the json file (which one?) to? Have you run make install? Notekit should be capable of running without this if the current working dir is the root directory of the git repository, but if you are running it from a different working directory and did not make install, you may observe the error that you mentioned.

It is also a possibility to manually make it run from a portable directory of the same shape as the git repository by passing NK_DEVEL in the environment, like NK_DEVEL=/path/to/git/repo /path/to/notekit/binary.

I will try to improve some debug output shortly, so it becomes possible to see what paths it tries to operate in even if it could not find a config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants