Skip to content

TypeError: Path must be a string #77

@Evanlec

Description

@Evanlec

I am running bugger app.js, then open the printed link into Chrome, Chrome then says "Debugging connection terminated, reason: websocket_closed" and I then see the following error in my terminal:

   TypeError: Path must be a string. Received undefined
       at assertPath (path.js:7:11)
       at Object.dirname (path.js:1326:5)
       at Module._compile (/usr/local/lib/node_modules/bugger/lib/cli.js:80:24)
       at _createContext (/usr/local/lib/node_modules/bugger/lib/agents/runtime/index.js:26:5)
       at new RuntimeAgent (/usr/local/lib/node_modules/bugger/lib/agents/runtime/index.js:40:25)
       at new Agents (/usr/local/lib/node_modules/bugger/lib/agents.js:42:21)
       at setupAgents (/usr/local/lib/node_modules/bugger/lib/bugger.js:50:20)
       at Thread.onDevtoolsMessage (/usr/local/lib/node_modules/bugger/lib/bugger.js:78:7)
       at emitOne (events.js:96:13)
       at Thread.emit (events.js:188:7)
       at Thread._handle.message (/usr/local/lib/node_modules/bugger/lib/thread.js:12:12) }

I tried the following, but no luck:

bugger ./app.js
bugger "./app.js"

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