qooxdoo / qooxdoo-compiler

Compiler for Qooxdoo, 100% javascript
MIT License
35 stars 23 forks source link

Error 'getTemplateDir is not a functionxtest' happens when compiling with --typescript option #826

Closed goldim closed 3 years ago

goldim commented 3 years ago

qooxdoo compiler version:

goldim@goldim:/var/www/html/git/tscqxtest$ npx qx --version
1.0.2

Error output:

goldim@goldim:/var/www/html/git/tscqxtest$ npx qx compile --typescript
qx.test.core.Environment: [157,6 to 159,8] warning: Environment check 'affe' may be indeterminable, add to Manifest/provides/environment or use class name prefix
qx.test.core.Environment: [170,6] warning: Environment check 'affe' may be indeterminable, add to Manifest/provides/environment or use class name prefix
qx.test.core.Validation: warning: The mangling of private variable '__validateCustom' has been blocked because it is referenced as a string before it is declared
qx.test.dev.unit.Requirements: [65,6 to 67,8] warning: Environment check 'qx.test.requirement.syncTrue' may be indeterminable, add to Manifest/provides/environment or use class name prefix
qx.test.dev.unit.Requirements: [81,6 to 83,8] warning: Environment check 'qx.test.requirement.syncFalse' may be indeterminable, add to Manifest/provides/environment or use class name prefix
Error: TypeError: qx.tool.utils.Utils.getTemplateDir is not a functionxtest
    at wrapper.qx.tool.compiler.targets.TypeScriptWriter.prototype.writeBase() [as writeBase] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:62495:55)
    at /var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:62400:16
    at new Promise ()
    at wrapper.qx.tool.compiler.targets.TypeScriptWriter.prototype.run() [as run] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:62396:15)
    at wrapper.qx.tool.compiler.makers.AppMaker.prototype.make() [as make] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:54850:14)
    at async /var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:51558:20
From previous event:
    at Function.qx.Promise.__P_64_8() [as __P_64_8] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:26151:68)
    at Function.qx.Promise.all() [as all] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:25736:27)
    at wrapper.qx.tool.cli.commands.Compile.prototype._loadConfigAndStartMaking() [as _loadConfigAndStartMaking] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:51485:26)
    at async wrapper.qx.tool.cli.commands.Compile.prototype.process() [as process] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:51440:9)
    at async wrapper.qx.tool.cli.Cli.prototype.processCommand() [as processCommand] (/var/www/html/git/tscqxtest/node_modules/@qooxdoo/compiler/lib/compiler/index.js:40645:18)
npm ERR! code 1