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

Error: Unable to validate configuration. #142

Closed
CodeGodd opened this issue Sep 20, 2022 · 14 comments
Closed

Error: Unable to validate configuration. #142

CodeGodd opened this issue Sep 20, 2022 · 14 comments

Comments

@CodeGodd
Copy link

CodeGodd commented Sep 20, 2022

Steps to Reproduce:

  1. ran command mineable setup
  2. got error

Error:
%
%%
%%%%%
%%%%%%%%
%%%%%%%%%%
%%%%%%%%%%%%
%%%% %%%%%%%%
%%% %%%%%%
%% %%%%%%
% %%%
%%%
%%
%

M I N T A B L E

2022-09-20T04:48:28.932Z [INFO] Using default configuration file /Users/xxxx/mintable.jsonc.
2022-09-20T04:48:28.932Z [INFO] You can supply either --config-file or --config-variable to specify a different configuration.
2022-09-20T04:48:28.933Z [INFO] Unable to open config file.
2022-09-20T04:48:28.934Z [INFO] Using default configuration file /Users/xxxx/mintable.jsonc.
2022-09-20T04:48:28.934Z [INFO] You can supply either --config-file or --config-variable to specify a different configuration.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (67,14): Cannot find name 'Request'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (68,14): Cannot find name 'Response'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (81,10): Cannot find name 'Request'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (82,10): Cannot find name 'Response'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,68): Type expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,71): Cannot find name 'infer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,77): '}' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,77): Cannot find name 'P'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,78): Declaration or statement expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,79): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,80): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,81): Cannot find name 'Tail'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,86): The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,32): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,33): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,34): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,41): The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,47): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,48): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,49): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,7): Property '$' does not exist on type '">,\n "'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,8): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,9): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,22): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,22): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,23): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,24): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,32): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,33): ')' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,34): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,26): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,26): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,27): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,28): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,35): Declaration or statement expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,36): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,37): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,38): Cannot find name 'infer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,44): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,44): Cannot find name 'Rest'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,52): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,52): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,53): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,54): Cannot find name 'infer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,60): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,60): Cannot find name 'ParamName'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,70): Declaration or statement expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,28): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,28): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,29): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,30): Cannot find name 'GetRouteParameter'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,48): Cannot find name 'Rest'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,53): '(' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,54): Cannot find name '$'. Do you need to install type definitions for jQuery? Try npm i @types/jquery.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,55): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,56): Cannot find name 'infer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,62): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,62): Cannot find name 'Next'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (224,41): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (224,41): Cannot find name 'name'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (233,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (233,31): Cannot find name 'next'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (259,62): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (259,62): Cannot find name 'path'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (355,49): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (355,49): 'ParamsDictionary' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (356,59): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (356,65): No overload matches this call.
Overload 1 of 3, '(pattern: string | RegExp, flags?: string): RegExp', gave the following error.
Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | RegExp'.
Type 'TemplateStringsArray' is not assignable to type 'string'.
Overload 2 of 3, '(pattern: string | RegExp): RegExp', gave the following error.
Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | RegExp'.
Type 'TemplateStringsArray' is not assignable to type 'string'.
Overload 3 of 3, '(pattern: string, flags?: string): RegExp', gave the following error.
Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,5): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,5): 'string' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,25): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,25): This expression is not callable.
Type 'String' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,44): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,44): Cannot find name 'req'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (358,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (358,31): 'ParamsArray' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (363,84): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (363,84): 'ParamsDictionary' only refers to a type, but is being used as a value here.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (378,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (378,13): Cannot find name 'Referrer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,14): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,14): Cannot find name 'Referrer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,29): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,29): Cannot find name 'Referer'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (392,20): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (392,20): Cannot find name 'req'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,28): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,28): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,33): Cannot find name 's'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (402,45): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (405,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (405,13): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (408,22): Left side of comma operator is unused and has no side effects.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (408,22): Left side of comma operator is unused and has no side effects.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (479,56): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (479,56): Cannot find name 'size'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (483,48): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,35): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,35): Cannot find name 'name'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,58): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,58): Cannot find name 'defaultValue'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (508,36): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (508,36): Cannot find name 'req'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (510,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (510,13): Cannot find name 'connect'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (516,53): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (516,53): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (556,26): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (556,26): This expression is not callable.
Type 'Boolean' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (562,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (562,31): This expression is not callable.
Type 'Boolean' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (566,38): Left side of comma operator is unused and has no side effects.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (566,38): Left side of comma operator is unused and has no side effects.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (579,62): Left side of comma operator is unused and has no side effects.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,24): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,24): Cannot find name 'url'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,34): Cannot find name 'req'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (666,20): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (666,20): Cannot find name 'code'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (671,46): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (671,46): Cannot find name 'statusCode'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (684,46): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (684,46): Cannot find name 'links'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (732,40): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (732,40): Cannot find name 'path'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,22): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,22): Cannot find name 'fn'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,25): Cannot find name 'err'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (736,51): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (736,51): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,13): Cannot find name 'maxAge'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,68): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,68): Cannot find name 'ms'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (743,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (743,13): Cannot find name 'root'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (744,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (744,13): Cannot find name 'headers'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,13): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,13): Cannot find name 'dotfiles'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,68): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,68): This expression is not callable.
Type 'String' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (747,43): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (747,43): Cannot find name 'send'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (751,48): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (751,48): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (752,44): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (752,44): Cannot find name 'static'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (753,47): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (753,47): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (792,40): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (792,40): Cannot find name 'path'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (794,54): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (794,54): Cannot find name 'filename'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,31): Cannot find name 'fn'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,34): Cannot find name 'err'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (797,35): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (797,35): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (802,26): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (802,26): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,49): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,49): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,64): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,64): 'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,69): Property 'lookup' does not exist on type 'Mime'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (810,66): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (810,66): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,49): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,49): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,64): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,64): 'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,69): Property 'lookup' does not exist on type 'Mime'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (824,66): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (824,66): Cannot find name 'type'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (837,52): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (837,52): Cannot find name 'obj'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (840,26): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (840,26): Cannot find name 'req'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (848,54): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (848,54): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,12): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,12): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,39): Expression expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (882,38): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (882,43): Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,17): Property 'status' does not exist on type 'Error'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,36): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,36): Cannot find name 'next'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,41): Cannot find name 'err'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (891,72): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (891,72): Cannot find name 'filename'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,20): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,20): Cannot find name 'field'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,31): Cannot find name 'val'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (905,20): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (905,20): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (916,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (916,31): Cannot find name 'field'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (919,23): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (919,23): Cannot find name 'name'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,20): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,20): Cannot find name 'name'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,30): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,30): Cannot find name 'val'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,52): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,52): Cannot find name 'options'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,14): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,14): Cannot find name 'maxAge'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,63): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,63): Cannot find name 'expires'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (928,14): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (928,14): Cannot find name 'signed'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (929,14): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (929,14): Cannot find name 'path'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (944,36): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (944,36): Cannot find name 'url'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (946,19): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (946,19): Cannot find name 'url'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (958,46): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (958,46): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,31): Cannot find name 'url'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,60): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,60): Cannot find name 'status'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,23): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,23): Cannot find name 'url'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,46): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,46): Cannot find name 'res'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (977,9): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (977,9): This expression is not callable.
Type 'String' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,16): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,16): Cannot find name 'view'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,38): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,38): Cannot find name 'options'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,70): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,70): Cannot find name 'fn'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1000,12): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1000,12): Cannot find name 'cache'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1001,12): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1001,12): Cannot find name 'filename'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1071,53): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1071,53): Cannot find name 'fn'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1072,12): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1072,12): Cannot find name 'ext'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1074,25): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1074,25): Expected 1 arguments, but got 0.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,51): Cannot find name 'path'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,57): Cannot find name 'options'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,66): Cannot find name 'callback'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1089,52): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1089,52): Cannot find name 'ejs'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,16): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,16): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,29): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,29): Cannot find name 'val'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,46): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,46): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1140,18): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1140,18): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1152,18): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1152,18): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1163,17): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1163,17): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1166,18): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1166,18): Cannot find name 'setting'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,31): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,31): Cannot find name 'name'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,48): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,48): Cannot find name 'options'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1186,16): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1186,16): This expression is not callable.
Type 'typeof Server' has no call signatures.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1187,33): ';' expected.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1187,41): Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1255,1): Unterminated template literal.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (27,28): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Express'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (58,55): Type 'Response<any, Record<string, any>>' does not satisfy the constraint 'ServerResponse'.
Type 'Response<any, Record<string, any>>' is missing the following properties from type 'ServerResponse': statusCode, statusMessage, assignSocket, detachSocket, and 54 more.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (71,59): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Router'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (94,40): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Application'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (95,42): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'CookieOptions'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (96,36): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Errback'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (104,36): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Express'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (105,36): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Handler'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (106,35): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRoute'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (107,36): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouter'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (108,46): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouterHandler'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (109,46): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouterMatcher'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (110,38): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'MediaType'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (118,20): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Request'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (126,48): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'RequestParamHandler'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (128,22): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Response'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (129,35): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Router'.
/usr/local/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (130,33): Namespace '"/usr/local/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Send'.
2022-09-20T04:48:31.077Z [ERROR] Unable to validate configuration.

TypeError: Cannot read properties of null (reading 'id')
at Ajv._get$Id [as _getId] (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:392:14)
at Ajv._addSchema (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:301:37)
at Ajv.validate (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:95:26)
at Object.exports.validateConfig (/usr/local/lib/node_modules/mintable/lib/common/config.js:148:31)
at Object.exports.updateConfig (/usr/local/lib/node_modules/mintable/lib/common/config.js:192:35)
at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:109:30
at step (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:34:23)
at Object.next (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:15:53)
at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:9:71
at new Promise ()
at __awaiter (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:5:12)
at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:55:12
at Object. (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:137:3)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32) {
[stack]: "TypeError: Cannot read properties of null (reading 'id')\n" +
' at Ajv._get$Id [as _getId] (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:392:14)\n' +
' at Ajv._addSchema (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:301:37)\n' +
' at Ajv.validate (/usr/local/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:95:26)\n' +
' at Object.exports.validateConfig (/usr/local/lib/node_modules/mintable/lib/common/config.js:148:31)\n' +
' at Object.exports.updateConfig (/usr/local/lib/node_modules/mintable/lib/common/config.js:192:35)\n' +
' at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:109:30\n' +
' at step (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:34:23)\n' +
' at Object.next (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:15:53)\n' +
' at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:9:71\n' +
' at new Promise ()\n' +
' at __awaiter (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:5:12)\n' +
' at /usr/local/lib/node_modules/mintable/lib/scripts/cli.js:55:12\n' +
' at Object. (/usr/local/lib/node_modules/mintable/lib/scripts/cli.js:137:3)\n' +
' at Module._compile (node:internal/modules/cjs/loader:1126:14)\n' +
' at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n' +
' at Module.load (node:internal/modules/cjs/loader:1004:32)',
[message]: "Cannot read properties of null (reading 'id')"
}

<Paste Full Error Content Here>

System Info:

arch: x64
platform: darwin
os: v21.6.0
mintable: v2.0.1
node: v16.17.0
@kevinschaich
Copy link
Owner

Hey @CodeGodd – could you post a redacted version of your config file (removing any tokens/sensitive information and replace them with XXX or similar)?

@kevinschaich
Copy link
Owner

kevinschaich commented Sep 21, 2022

Nevermind. Think it's a dependency issue. Related:

DefinitelyTyped/DefinitelyTyped#62243, DefinitelyTyped/DefinitelyTyped#62300

@ericcater
Copy link
Collaborator

Work around in the mean time

"overrides": {
    "@types/express-serve-static-core": "4.17.30"
},

I also changed to "@types/express": "4.17.3", and "express": "4.17.3", - don't think those mattered, but do that if the above doesn't work by it's self.

@QuietMisdreavus
Copy link

This happened to me on a totally fresh install, following the directions on the README. I think it's trying to parse an empty file for the configuration and crashing?

@gmfennema
Copy link

Also happened to me on a fresh install - can't figure out the workaround

@svhred
Copy link

svhred commented Oct 17, 2022

This failed on a fresh install. No config file is actually created.

@vivekteega
Copy link

vivekteega commented Oct 28, 2022

I am facing the same issue on Ubuntu 20.04 running Node v16.18.0

vivek@suhr:~$ sudo npm install -g mintable
npm WARN deprecated axios@0.19.2: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410

added 202 packages, and audited 203 packages in 27s

20 packages are looking for funding
  run `npm fund` for details

11 vulnerabilities (3 moderate, 8 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
vivek@suhr:~$ mintable setup


          %
          %%
         %%%%%
       %%%%%%%%
     %%%%%%%%%%
   %%%%%%%%%%%%
  %%%% %%%%%%%%
  %%%  %%%%%%
  %%   %%%%%%
   %   %%%
        %%%
         %%
           %


 M I N T A B L E

2022-10-28T13:56:12.617Z [INFO] Using default configuration file `/home/vivek/mintable.jsonc.`
2022-10-28T13:56:12.618Z [INFO] You can supply either --config-file or --config-variable to specify a different configuration.
2022-10-28T13:56:12.619Z [INFO] Unable to open config file.
2022-10-28T13:56:12.620Z [INFO] Using default configuration file `/home/vivek/mintable.jsonc.`
2022-10-28T13:56:12.621Z [INFO] You can supply either --config-file or --config-variable to specify a different configuration.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (67,14): Cannot find name 'Request'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (68,14): Cannot find name 'Response'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (81,10): Cannot find name 'Request'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (82,10): Cannot find name 'Response'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,68): Type expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,71): Cannot find name 'infer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,77): '}' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,77): Cannot find name 'P'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,78): Declaration or statement expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,79): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,80): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,81): Cannot find name 'Tail'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (99,86): The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,32): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,33): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,34): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,41): The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,47): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,48): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (101,49): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,7): Property '$' does not exist on type '">,\n    "'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,8): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (102,9): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,22): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,22): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,23): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,24): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,32): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,33): ')' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (108,34): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,26): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,26): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,27): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,28): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,35): Declaration or statement expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,36): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,37): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,38): Cannot find name 'infer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,44): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (110,44): Cannot find name 'Rest'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,52): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,52): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,53): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,54): Cannot find name 'infer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,60): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,60): Cannot find name 'ParamName'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (114,70): Declaration or statement expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,28): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,28): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,29): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,30): Cannot find name 'GetRouteParameter'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,48): Cannot find name 'Rest'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,53): '(' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,54): Cannot find name '$'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,55): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,56): Cannot find name 'infer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,62): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (118,62): Cannot find name 'Next'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (224,41): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (224,41): Cannot find name 'name'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (233,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (233,31): Cannot find name 'next'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (259,62): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (259,62): Cannot find name 'path'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (355,49): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (355,49): 'ParamsDictionary' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (356,59): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (356,65): No overload matches this call.
  Overload 1 of 3, '(pattern: string | RegExp, flags?: string): RegExp', gave the following error.
    Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | RegExp'.
      Type 'TemplateStringsArray' is not assignable to type 'string'.
  Overload 2 of 3, '(pattern: string | RegExp): RegExp', gave the following error.
    Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | RegExp'.
      Type 'TemplateStringsArray' is not assignable to type 'string'.
  Overload 3 of 3, '(pattern: string, flags?: string): RegExp', gave the following error.
    Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,5): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,5): 'string' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,25): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,25): This expression is not callable.
  Type 'String' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,44): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (357,44): Cannot find name 'req'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (358,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (358,31): 'ParamsArray' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (363,84): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (363,84): 'ParamsDictionary' only refers to a type, but is being used as a value here.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (378,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (378,13): Cannot find name 'Referrer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,14): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,14): Cannot find name 'Referrer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,29): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (379,29): Cannot find name 'Referer'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (392,20): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (392,20): Cannot find name 'req'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,28): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,28): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (401,33): Cannot find name 's'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (402,45): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (405,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (405,13): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (408,22): Left side of comma operator is unused and has no side effects.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (408,22): Left side of comma operator is unused and has no side effects.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (479,56): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (479,56): Cannot find name 'size'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (483,48): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,35): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,35): Cannot find name 'name'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,58): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (502,58): Cannot find name 'defaultValue'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (508,36): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (508,36): Cannot find name 'req'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (510,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (510,13): Cannot find name 'connect'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (516,53): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (516,53): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (556,26): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (556,26): This expression is not callable.
  Type 'Boolean' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (562,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (562,31): This expression is not callable.
  Type 'Boolean' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (566,38): Left side of comma operator is unused and has no side effects.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (566,38): Left side of comma operator is unused and has no side effects.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (579,62): Left side of comma operator is unused and has no side effects.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,24): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,24): Cannot find name 'url'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (585,34): Cannot find name 'req'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (666,20): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (666,20): Cannot find name 'code'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (671,46): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (671,46): Cannot find name 'statusCode'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (684,46): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (684,46): Cannot find name 'links'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (732,40): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (732,40): Cannot find name 'path'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,22): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,22): Cannot find name 'fn'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (735,25): Cannot find name 'err'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (736,51): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (736,51): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,13): Cannot find name 'maxAge'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,68): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (742,68): Cannot find name 'ms'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (743,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (743,13): Cannot find name 'root'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (744,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (744,13): Cannot find name 'headers'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,13): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,13): Cannot find name 'dotfiles'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,68): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (745,68): This expression is not callable.
  Type 'String' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (747,43): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (747,43): Cannot find name 'send'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (751,48): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (751,48): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (752,44): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (752,44): Cannot find name 'static'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (753,47): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (753,47): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (792,40): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (792,40): Cannot find name 'path'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (794,54): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (794,54): Cannot find name 'filename'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,31): Cannot find name 'fn'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (795,34): Cannot find name 'err'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (797,35): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (797,35): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (802,26): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (802,26): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,49): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,49): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,64): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,64): 'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (809,69): Property 'lookup' does not exist on type 'Mime'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (810,66): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (810,66): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,49): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,49): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,64): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,64): 'mime' refers to a UMD global, but the current file is a module. Consider adding an import instead.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (823,69): Property 'lookup' does not exist on type 'Mime'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (824,66): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (824,66): Cannot find name 'type'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (837,52): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (837,52): Cannot find name 'obj'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (840,26): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (840,26): Cannot find name 'req'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (848,54): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (848,54): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,12): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,12): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (849,39): Expression expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (882,38): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (882,43): Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,17): Property 'status' does not exist on type 'Error'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,36): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,36): Cannot find name 'next'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (883,41): Cannot find name 'err'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (891,72): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (891,72): Cannot find name 'filename'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,20): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,20): Cannot find name 'field'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (896,31): Cannot find name 'val'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (905,20): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (905,20): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (916,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (916,31): Cannot find name 'field'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (919,23): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (919,23): Cannot find name 'name'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,20): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,20): Cannot find name 'name'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,30): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,30): Cannot find name 'val'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,52): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (923,52): Cannot find name 'options'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,14): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,14): Cannot find name 'maxAge'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,63): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (927,63): Cannot find name 'expires'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (928,14): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (928,14): Cannot find name 'signed'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (929,14): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (929,14): Cannot find name 'path'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (944,36): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (944,36): Cannot find name 'url'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (946,19): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (946,19): Cannot find name 'url'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (958,46): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (958,46): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,31): Cannot find name 'url'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,60): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (972,60): Cannot find name 'status'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,23): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,23): Cannot find name 'url'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,46): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (975,46): Cannot find name 'res'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (977,9): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (977,9): This expression is not callable.
  Type 'String' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,16): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,16): Cannot find name 'view'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,38): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,38): Cannot find name 'options'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,70): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (994,70): Cannot find name 'fn'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1000,12): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1000,12): Cannot find name 'cache'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1001,12): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1001,12): Cannot find name 'filename'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1071,53): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1071,53): Cannot find name 'fn'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1072,12): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1072,12): Cannot find name 'ext'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1074,25): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1074,25): Expected 1 arguments, but got 0.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,51): Cannot find name 'path'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,57): Cannot find name 'options'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1088,66): Cannot find name 'callback'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1089,52): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1089,52): Cannot find name 'ejs'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,16): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,16): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,29): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,29): Cannot find name 'val'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,46): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1104,46): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1140,18): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1140,18): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1152,18): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1152,18): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1163,17): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1163,17): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1166,18): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1166,18): Cannot find name 'setting'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,31): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,31): Cannot find name 'name'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,48): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1170,48): Cannot find name 'options'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1186,16): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1186,16): This expression is not callable.
  Type 'typeof Server' has no call signatures.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1187,33): ';' expected.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1187,41): Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string'.
/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index.d.ts (1255,1): Unterminated template literal.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (27,28): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Express'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (58,55): Type 'Response<any, Record<string, any>>' does not satisfy the constraint 'ServerResponse'.
  Type 'Response<any, Record<string, any>>' is missing the following properties from type 'ServerResponse': statusCode, statusMessage, assignSocket, detachSocket, and 54 more.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (71,59): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Router'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (94,40): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Application'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (95,42): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'CookieOptions'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (96,36): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Errback'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (104,36): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Express'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (105,36): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Handler'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (106,35): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRoute'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (107,36): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouter'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (108,46): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouterHandler'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (109,46): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'IRouterMatcher'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (110,38): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'MediaType'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (118,20): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Request'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (126,48): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'RequestParamHandler'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (128,22): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Response'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (129,35): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Router'.
/usr/lib/node_modules/mintable/node_modules/@types/express/index.d.ts (130,33): Namespace '"/usr/lib/node_modules/mintable/node_modules/@types/express-serve-static-core/index"' has no exported member 'Send'.
2022-10-28T13:56:19.123Z [ERROR] Unable to validate configuration.

 TypeError: Cannot read properties of null (reading 'id')
    at Ajv._get$Id [as _getId] (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:392:14)
    at Ajv._addSchema (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:301:37)
    at Ajv.validate (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:95:26)
    at Object.exports.validateConfig (/usr/lib/node_modules/mintable/lib/common/config.js:148:31)
    at Object.exports.updateConfig (/usr/lib/node_modules/mintable/lib/common/config.js:192:35)
    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:109:30
    at step (/usr/lib/node_modules/mintable/lib/scripts/cli.js:34:23)
    at Object.next (/usr/lib/node_modules/mintable/lib/scripts/cli.js:15:53)
    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:9:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/lib/node_modules/mintable/lib/scripts/cli.js:5:12)
    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:55:12
    at Object.<anonymous> (/usr/lib/node_modules/mintable/lib/scripts/cli.js:137:3)
    at Module._compile (node:internal/modules/cjs/loader:1155:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
    at Module.load (node:internal/modules/cjs/loader:1033:32) {
  [stack]: "TypeError: Cannot read properties of null (reading 'id')\n" +
    '    at Ajv._get$Id [as _getId] (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:392:14)\n' +
    '    at Ajv._addSchema (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:301:37)\n' +
    '    at Ajv.validate (/usr/lib/node_modules/mintable/node_modules/ajv/lib/ajv.js:95:26)\n' +
    '    at Object.exports.validateConfig (/usr/lib/node_modules/mintable/lib/common/config.js:148:31)\n' +
    '    at Object.exports.updateConfig (/usr/lib/node_modules/mintable/lib/common/config.js:192:35)\n' +
    '    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:109:30\n' +
    '    at step (/usr/lib/node_modules/mintable/lib/scripts/cli.js:34:23)\n' +
    '    at Object.next (/usr/lib/node_modules/mintable/lib/scripts/cli.js:15:53)\n' +
    '    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:9:71\n' +
    '    at new Promise (<anonymous>)\n' +
    '    at __awaiter (/usr/lib/node_modules/mintable/lib/scripts/cli.js:5:12)\n' +
    '    at /usr/lib/node_modules/mintable/lib/scripts/cli.js:55:12\n' +
    '    at Object.<anonymous> (/usr/lib/node_modules/mintable/lib/scripts/cli.js:137:3)\n' +
    '    at Module._compile (node:internal/modules/cjs/loader:1155:14)\n' +
    '    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)\n' +
    '    at Module.load (node:internal/modules/cjs/loader:1033:32)',
  [message]: "Cannot read properties of null (reading 'id')"
}

You can check if anybody else has encountered this issue on GitHub:
https://github.com/kevinschaich/mintable/issues?q=is:issue+Unable%20to%20validate%20configuration.

If this is a new issue, please use this link to report it:
https://github.com/kevinschaich/mintable/issues/new?title=Error:+Unable%20to%20validate%20configuration.&body=**Steps%20to%20Reproduce:**%0A%0A1.%0A2.%0A3.%0A%0A**Error:**%0A%0A%60%60%60%0A%3CPaste%20Full%20Error%20Content%20Here%3E%0A%60%60%60%0A%0A**System%20Info:**%0A%0A%60%60%60%0Aarch:%20x64%0Aplatform:%20linux%0Aos:%20v5.4.0-131-generic%0Amintable:%20v2.0.1%0Anode:%20v16.18.0%0A%60%60%60

vivek@suhr:~$

@jpartain89
Copy link

Same issue here:

System Info:

arch: x64
platform: linux
os: v5.15.0-53-generic
mintable: v2.0.1
node: v16.18.0

No need to re-paste the same block of error text as everyone else has posted so far.

What other info is needed, @kevinschaich ?

@inakarmacoma
Copy link

inakarmacoma commented Dec 4, 2022

Confirming the same issue

arch: x64
platform: Windows Subsystem for Linux
OS: Windows 10
mintable: prod as fo 12/04
node: v14.17.0.

Upgraded node, but still no luck.

2022-12-04T19:30:36.076Z [ERROR] Unable to validate configuration.

 TypeError: Cannot read properties of null (reading 'id')

also

2022-12-04T19:30:36.076Z [ERROR] Unable to validate configuration.

 TypeError: Cannot read properties of null (reading 'id')
    at Ajv._get$Id [as _getId] (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\node_modules\ajv\lib\ajv.js:392:14)
    at Ajv._addSchema (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\node_modules\ajv\lib\ajv.js:301:37)
    at Ajv.validate (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\node_modules\ajv\lib\ajv.js:95:26)
    at exports.validateConfig (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\common\config.js:148:31)
    at exports.updateConfig (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\common\config.js:192:35)
    at C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\scripts\cli.js:109:30
    at step (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\scripts\cli.js:34:23)
    at Object.next (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\scripts\cli.js:15:53)
    at fulfilled (C:\Users\LDAP\AppData\Roaming\npm\node_modules\mintable\lib\scripts\cli.js:6:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  [stack]: "TypeError: Cannot read properties of null (reading 'id')\n" +
    '    at Ajv._get$Id [as _getId] (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\node_modules\\ajv\\lib\\ajv.js:392:14)\n' +
    '    at Ajv._addSchema (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\node_modules\\ajv\\lib\\ajv.js:301:37)\n' +
    '    at Ajv.validate (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\node_modules\\ajv\\lib\\ajv.js:95:26)\n' +
    '    at exports.validateConfig (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\common\\config.js:148:31)\n' +
    '    at exports.updateConfig (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\common\\config.js:192:35)\n' +
    '    at C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\scripts\\cli.js:109:30\n' +
    '    at step (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\scripts\\cli.js:34:23)\n' +
    '    at Object.next (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\scripts\\cli.js:15:53)\n' +
    '    at fulfilled (C:\\Users\\LDAP\\AppData\\Roaming\\npm\\node_modules\\mintable\\lib\\scripts\\cli.js:6:58)\n' +
    '    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)',
  [message]: "Cannot read properties of null (reading 'id')"
}

@lucasconnellm
Copy link

Work around in the mean time

"overrides": {
    "@types/express-serve-static-core": "4.17.30"
},

I also changed to "@types/express": "4.17.3", and "express": "4.17.3", - don't think those mattered, but do that if the above doesn't work by it's self.

@ericcater Thanks so much, this did it for me on a fresh install.

@zbjones
Copy link

zbjones commented Dec 15, 2022

Work around in the mean time

"overrides": {
    "@types/express-serve-static-core": "4.17.30"
},

I also changed to "@types/express": "4.17.3", and "express": "4.17.3", - don't think those mattered, but do that if the above doesn't work by it's self.

@ericcater Thanks so much, this did it for me on a fresh install.

Can confirm that this work around did the trick for me. For anyone struggling to get it to work, after pasting the override into the package.json file and making the noted changes to the lines, I ran "npm update" and then it worked.

@kevinschaich
Copy link
Owner

Hey all – quick update on this: I tried @ericcater's solution and that fixed the issue on my local machine as it did for others here. Pushed in 5b80c5e and released in v2.0.2.

However, the tests for GitHub Actions for that version seem to still be failing with the same error others have posted above:

https://github.com/kevinschaich/mintable/actions/runs/3807983269/jobs/6478179633

@kevinschaich
Copy link
Owner

Hey all – final update – I think I have this fixed now in v2.0.3 (2f39ab6).

For posterity, the overrides block is not needed, and the versions that work with both my local machine and GitHub Actions (also fixed now) are "typescript": "3.8.3", "@types/express": "4.17.3", and "@types/express-serve-static-core": "4.17.28":

mintable/package.json

Lines 21 to 46 in 2f39ab6

"dependencies": {
"@types/body-parser": "^1.19.0",
"@types/express": "4.17.3",
"@types/express-serve-static-core": "4.17.28",
"@types/glob": "^7.1.2",
"@types/lodash": "4.14.149",
"@types/node": "^14.0.13",
"@types/prompts": "^2.0.3",
"ajv": "^6.12.0",
"body-parser": "^1.19.0",
"chalk": "^3.0.0",
"csv-parse": "^4.10.1",
"csv-stringify": "^5.5.0",
"date-fns": "^2.10.0",
"express": "4.17.3",
"glob": "^7.1.6",
"googleapis": "47.0.0",
"jsonc": "^2.0.0",
"lodash": "4.17.15",
"open": "^7.0.2",
"plaid": "^7.0.0",
"prompts": "^2.3.1",
"typescript": "3.8.3",
"typescript-json-schema": "^0.42.0",
"yargs": "^15.1.0"
},

@inakarmacoma – I think the error you are hitting is different and you may need to supply the ``--config-file` argument, although windows is not natively supported. Feel free to open a new issue if you need more support.

Thanks for the help, everyone.

@inakarmacoma
Copy link

inakarmacoma commented Dec 30, 2022 via email

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

No branches or pull requests