Skip to content

SyntaxError: Unexpected end of input #6

Description

@desaiuditd

I get this error when trying to execute WP.discover command.

I tried it on Linux as well as Mac environment.

node-wp-cli version: 0.0.4

Following is the output log.

Mac

undefined:1
ription":"List all sites in a multisite install.","longdesc":"## OPTIONS\n\n[-

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at /Users/udit/easyengine-vagrant/www/Data/generator-moxie-wp/node_modules/wp-cli/lib/commands.js:17:20
    at ChildProcess.exithandler (child_process.js:758:5)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Linux

undefined:1
d more than once)\n\n  --[no-]color\n      Whether to colorize the output\n\n 

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at /var/www/Data/generator-moxie-wp/node_modules/wp-cli/lib/commands.js:17:20
    at ChildProcess.exithandler (child_process.js:758:5)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions