Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Error: No active screen. #171

@reimertz

Description

@reimertz

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

npm install @canner/cli@next
npx canner start

(node:49865) UnhandledPromiseRejectionWarning: Error: No active screen.
    at Table.Node (/snapshot/repo/packages/cli/node_modules/blessed/lib/widgets/node.js:57:13)
    at Table.Element (/snapshot/repo/packages/cli/node_modules/blessed/lib/widgets/element.js:49:8)
    at Table.Box (/snapshot/repo/packages/cli/node_modules/blessed/lib/widgets/box.js:23:11)
    at new Table (/snapshot/repo/packages/cli/node_modules/blessed-contrib/lib/widget/table.js:34:7)
    at Table (/snapshot/repo/packages/cli/node_modules/blessed-contrib/lib/widget/table.js:12:12)
    at Grid.set (/snapshot/repo/packages/cli/node_modules/blessed-contrib/lib/layout/grid.js:35:18)
    at h.createTable (/snapshot/repo/packages/cli/dist/cli.js:1:51608)
    at n.createMonitor (/snapshot/repo/packages/cli/dist/cli.js:1:51822)
    at Command.<anonymous> (/snapshot/repo/packages/cli/dist/cli.js:1:49258)
    at Generator.next (<anonymous>)
(node:49865) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:49865) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Expected behavior
To run command as expected

Dependencies (please complete the following information):

  • OS: [e.g. iOS]: 10.14.4
  • Node Version: v10.8.0
  • Canner Version: 3.2.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions