Running this command while having denali-typescript installed in an app causes the following error.
% denali d resource bot
cli v0.0.17 [local] | denali v0.0.39 [local]
missing app/actions/bots/create.js
missing app/actions/bots/destroy.js
missing app/actions/bots/list.js
missing app/actions/bots/show.js
missing app/actions/bots/update.js
missing app/models/bot.js
missing app/serializers/bot.js
NestedError: "undefined" command failed
at Function.<anonymous> (./node_modules/denali-cli/lib/command.ts:89:13)
at Generator.throw (<anonymous>)
at rejected (./node_modules/tslib/tslib.js:101:69)
at <anonymous>
at runMicrotasksCallback (internal/process/next_tick.js:121:5)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
at Function.Module.runMain (module.js:607:11)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
Caused By: ReferenceError: id is not defined
at eval (lodash.templateSources[20]:33:11)
at filesToDelete.map.filter.filter (./node_modules/denali-cli/lib/blueprint.ts:268:79)
at Array.filter (native)
at ResourceBlueprint.<anonymous> (./node_modules/denali-cli/lib/blueprint.ts:265:8)
at Generator.next (<anonymous>)
at ./node_modules/tslib/tslib.js:103:75
at Promise (<anonymous>)
at Object.__awaiter (./node_modules/tslib/tslib.js:99:16)
at ResourceBlueprint.destroy (./node_modules/denali-cli/dist/lib/blueprint.js:199:24)
at ResourceBlueprint.<anonymous> (./node_modules/denali-cli/lib/blueprint.ts:175:18)
at Generator.next (<anonymous>)
at ./node_modules/tslib/tslib.js:103:75
at Promise (<anonymous>)
at Object.__awaiter (./node_modules/tslib/tslib.js:99:16)
at ResourceBlueprint.run (./node_modules/denali-cli/dist/lib/blueprint.js:138:24)
at Function.<anonymous> (./node_modules/denali-cli/lib/command.ts:87:21)
Running this command while having
denali-typescript
installed in an app causes the following error.