Skip to content

Exception connecting #1

@retog

Description

@retog

I'm trying to connect to the app example of the Readme.

In the browser console I see:

JSON.parse: expected property name or '}' at line 1 column 3 of the JSON data 2 subprocess_common.jsm:493
    readJSON resource://gre/modules/subprocess/subprocess_common.jsm:493

And this stderr output from native app:

internal/buffer.js:79
    throw new ERR_BUFFER_OUT_OF_BOUNDS();
    ^

RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds
    at boundsError (internal/buffer.js:79:11)
    at Buffer.readUInt32LE (internal/buffer.js:215:5)
    at processData ([...]/node_modules/node-native-messaging-host/index.js:38:42)

Any insight would be appreciated.

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