Open stphane opened 7 years ago
Exact same problem here. Atom 1.19.2, Debian 8, PHP 7.0.
Seems like php xml extension is required to use this package and it was missing on my system...
A sudo apt install php7.0-xml
resolved it.
Would be nice Atom Autocomplete PHP: Configuration
also check the required php extension list.
An exception accurs in
php-proxy.coffee::execute
on line 48. «res = JSON.parse(stdout)» because stdout variable, which holdsexec.spawnSync(config.config.php, args, options).output[1].toString('ascii')
return value, is empty.This error pops every time I hit save or simply open up the editor, resulting in the following message "Unexpected end of JSON input"
Stack trace
Configuration is okey. PHP, composer and autoload are correctly set. My project uses Silex framework.