Skip to content

Demo code does not work -- throws error: expected message to be a string #3

@triplespark

Description

@triplespark

When I try the example code with Enquirer, it does not work but throws the following error:

blahblahblah/node_modules/prompt-base/index.js:54
throw new TypeError('expected message to be a string');
^

TypeError: expected message to be a string

I've tried to understand what's wrong but unfortunately am unable to fix this.

Node v17.5.0

Metadata

Metadata

Assignees

No one assigned

    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