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 when running denali destroy resource #11

Open
seawatts opened this issue Oct 18, 2017 · 0 comments
Open

Error when running denali destroy resource #11

seawatts opened this issue Oct 18, 2017 · 0 comments

Comments

@seawatts
Copy link
Contributor

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant