Skip to content

Uncaught TypeError: Callback must be a function. Received 'utf8' #49

Description

Atom: 1.53.0 x64
Electron: 6.1.12
OS: linux 5.9.8-arch1-1
Thrown From: dbg package 1.6.3

Stack Trace

Uncaught TypeError: Callback must be a function. Received 'utf8'

At fs.js:142

TypeError [ERR_INVALID_CALLBACK] [ERR_INVALID_CALLBACK]: Callback must be a function. Received 'utf8'
    at maybeCallback (fs.js:142:9)
    at Object.writeFile (fs.js:1175:14)
    at ReadFileContext.callback (/packages/dbg/lib/ConfigManager.coffee:149:7)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:246:13)

Commands

     -3:43.1.0 core:copy (input.hidden-input)
     -3:41.4.0 core:paste (input.hidden-input)
     -3:41.2.0 core:save (input.hidden-input)
     -3:10.9.0 snippets:next-tab-stop (input.hidden-input)
     -3:10.9.0 snippets:expand (input.hidden-input)
     -3:10.9.0 editor:indent (input.hidden-input)
     -3:09.4.0 core:save (input.hidden-input)
     -3:01.7.0 snippets:next-tab-stop (input.hidden-input)
     -3:01.7.0 snippets:expand (input.hidden-input)
     -3:01.7.0 editor:indent (input.hidden-input)
  2x -3:00.9.0 core:save (input.hidden-input)
     -2:03.8.0 core:copy (input.hidden-input)
     -2:00.5.0 core:save (input.hidden-input)
  2x -1:27.2.0 core:confirm (input.hidden-input)
     -0:29.2.0 dbg:custom-debug (span.name.icon.icon-file-text)
     -0:12.3.0 dbg:pause-continue (input.hidden-input)

Non-Core Packages

dbg 1.6.3 
dbg-gdb 1.7.8 
output-panel 0.3.4 
terminal-tab 0.6.0 

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions