Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

RequestError: getaddrinfo ENOTFOUND doesnotexist.remarkable.com #30

@cvburgess

Description

@cvburgess

When I do the following (where RM_CODE is a valid code) I get the error in the issue title and deviceToken is undefined.

const { Remarkable } = require("remarkable-typescript");

const client = new Remarkable();
const deviceToken = await client.register({ code: RM_CODE });
  
console.log(deviceToken);

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