Добавьте в tsconfig.json в compilerOptions путь для компляции "outDir", например:
{ "compilerOptions": { "outDir": "./dist", "allowJs": true } }
Property ... has no initializer and is not definitely assigned in the constructor
Наиболее простое решение порблемы - выставить:
"strictPropertyInitialization": false
в tsconfig.json
Источник идеи: https://stackoverflow.com/a/50241920
Разбор решения тут: http://fkn.ktu10.com/?q=node/13678
The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.ts(1343)
Установите опцию module файла tsconfig.json например в "es2020", пример в контексте: