Skip to content

TypeError: Path must be a string. Received undefined #29

@benbalter

Description

@benbalter

👋 @jlord! Big net promoter of offline-issues. It seems I recently started receiving the following error:

$ offline-issues benbalter/benbalter.github.com
Wrote data.
Wrote markdown files.
Wrote html files.
path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:1324:5)
    at copy (/usr/local/lib/node_modules/offline-issues/node_modules/cpr/lib/index.js:136:28)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

This appeared immediately after logging in with 2FA and attempting to clone down the issues for my public, personal site (benbalter/benbalter.github.com).

I swear I read the directions (and things had been working great for a while). Using v0.1.0.

This occurs if I use the global offline-issues bin, or if I invoke ./node_modules/.bin/offline-issues directly from my project. Halp?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions