Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Uncaught TypeError: Cannot read property 'setEncoding' of undefined #82

Open
arboretom opened this issue Jan 28, 2020 · 0 comments
Open

Comments

@arboretom
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.43.0 x64
Electron: 4.2.7
OS: Mac OS X 10.14.4
Thrown From: php-cs-fixer package 4.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'setEncoding' of undefined

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

TypeError: Cannot read property 'setEncoding' of undefined
    at BufferedProcess.bufferStream (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1123067)
    at BufferedProcess.handleEvents (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1124579)
    at BufferedProcess.start (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1122587)
    at new BufferedProcess (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1122335)
    at Object.fix (/packages/php-cs-fixer/lib/php-cs-fixer.coffee:175:15)
    at /packages/php-cs-fixer/lib/php-cs-fixer.coffee:106:84)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349290)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:347765)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:723427)
    at EventEmitter.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:731350)
    at EventEmitter.emit (events.js:182:13)

Commands

     -9:27.8.0 atom-beautify:beautify-editor (div.line)
     -8:19.1.0 php-cs-fixer:fix (span.syntax--storage.syntax--type.syntax--function.syntax--php)
     -7:06.8.0 atom-beautify:beautify-editor (div.line)
     -5:38.6.0 php-cs-fixer:fix (span.syntax--support.syntax--function.syntax--magic.syntax--php)
     -5:18.2.0 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -2:45.5.0 php-cs-fixer:fix (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)
     -0:32.6.0 core:copy (div.line)

Non-Core Packages

atom-beautify 0.33.4 
php-cs-fixer 4.1.1 
php-twig 4.0.0 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant