I've cloned the repo to build locally for the first time.
I've done npm i and then npm run build but it appears to fail with these error messages:
npm run build
> renderer@0.0.0 build /Users/jonathan/GitHub/markwhen
> run-p type-check build-only
> renderer@0.0.0 type-check /Users/jonathan/GitHub/markwhen
> vue-tsc --noEmit -p tsconfig.vitest.json --composite false
> renderer@0.0.0 build-only /Users/jonathan/GitHub/markwhen
> vite build
vite v4.1.1 building for production...
✓ 948 modules transformed.
src/Markwhen/EventMarkdown.vue:40:60 - error TS2554: Expected 1 arguments, but got 2.
40 editorOrchestrator.setText(`- [${checked ? "x" : " "}]`, {
~
41 from: range.from,
~~~~~~~~~~~~~~~~~~~~~
42 to: range.to,
~~~~~~~~~~~~~~~~~
43 });
~~~
Found 1 error in src/Markwhen/EventMarkdown.vue:40
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! renderer@0.0.0 type-check: `vue-tsc --noEmit -p tsconfig.vitest.json --composite false`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the renderer@0.0.0 type-check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jonathan/.npm/_logs/2023-03-21T09_17_12_448Z-debug.log
ERROR: "type-check" exited with 2.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! renderer@0.0.0 build: `run-p type-check build-only`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the renderer@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jonathan/.npm/_logs/2023-03-21T09_17_12_609Z-debug.log
I know JS but not vue or TS, so I'm sorry that I can't suggest a fix.
I've cloned the repo to build locally for the first time. I've done
npm i
and thennpm run build
but it appears to fail with these error messages:I know JS but not vue or TS, so I'm sorry that I can't suggest a fix.