Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Error about TypeScriptWriter-base-declaration.txt occurs when compile with --typescript #819

Closed
@konichan7

Description

@konichan7

There's an error when i run qx compile --typescript
Full error like below.

Error: Error: ENOENT: no such file or directory, open 'C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\TypeScriptWriter-base_declaration.txt'
    at Promise.longStackTracesCaptureStackTrace [as _captureStackTrace] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:27354:29)
    at doThenable (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:31349:23)
    at tryConvertToPromise (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:31314:26)
    at PromiseArray._iterate (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:30080:36)
    at PromiseArray.init [as _init] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:30068:20)
    at new PromiseArray (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:30013:20)
    at Function.Promise.all (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:29268:22)
    at Function.qx.Promise.__P_64_8() [as __P_64_8] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:26101:68)
    at Function.qx.Promise.all() [as all] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:25686:27)
    at wrapper.qx.tool.cli.commands.Compile.prototype._loadConfigAndStartMaking() [as _loadConfigAndStartMaking] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:51357:26)
    at async wrapper.qx.tool.cli.commands.Compile.prototype.process() [as process] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:51312:9)
    at async wrapper.qx.tool.cli.Cli.prototype.processCommand() [as processCommand] (C:\myWorkingDir\node_modules\@qooxdoo\compiler\lib\compiler\index.js:40530:18)

i fixed this problem by make new TypeScriptWriter-base_declaration.txt file with dummy text and locate it under that path (node_modules\@qooxdoo\compiler\lib\compiler\). but i'm still not sure this is the best option.

thanks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions