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

Getting started. How to solve "caught process uncaughtException 'The settings file is v2.0 and must be upgraded.'" ? #98

Open
harisund opened this issue Jul 24, 2020 · 1 comment

Comments

@harisund
Copy link

These is what I run. Any idea what I am doing wrong? I am literally following the instructions in the main README.

$ npm init -y
$ npm install tiddlyserver --save-exact

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

+ [email protected]
added 3 packages from 2 contributors and audited 3 packages in 1.05s
found 0 vulnerabilities

$ cat settings.json
{
    "tree": "./webroot",
    "bindInfo": {
    "bindWildcard": true
    }
}


$ npx tiddlyserver --config settings.json
   [ERROR] 2020-07-24 15:50:10 caught process uncaughtException 'The settings file is v2.0 and must be upgraded.'
@Arlen22
Copy link
Owner

Arlen22 commented Aug 27, 2020

You need to add the $schema key. The value can just be the string "true".

If you run npx tiddlyserver --gen-schema settings.schema.json and then set the $schema key to that file, certain code editors will give you intellisense. It's a bit hacky but should work. That part is optional though.

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