Closed snowwolf007cn closed 6 years ago
I have the same problem. An error shows right away and nothing shows in the developer console.
OS : Windows 10
Atom : 1.30.0-beta2
Electron: 2.0.5
Chrome : 61.0.3163.100
Node : 8.9.3
I uninstalled php-ide-serenata, restarted atom then installed php-ide-serenata, and when I clicked to install the core I got the following error in the console:
connect ECONNREFUSED 127.0.0.1:17081
%USERPROFILE%\AppData\Roaming\php-ide-serenata
worked!!
On Linux removing the ~/.cache/php-ide-serenata do the trick.
I'm using the mac, so is there some magic same?
I reinstall php-ide-serenata and try to install the core, composer tells me that serenata/serenata 4.3.0 is not found.
After hours of work, I find a way to fix the problem on MAC, and follow steps blow:
rm -rf ~/Library/Preferences/php-ide-serenata/core ~/Library/Preferences/php-ide-serenata/server
apm install php-ide-serenata@4.3.0
This was likely a temporary issue with packagist not registering the new version yet or your Composer falling back to cache; I get it often when fairly rapidly trying to install a new version of a dependency I just tagged. Very annoying, but not something I can fix unfortunately.
/Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 stream.socket.on @ internal/child_process.js:346 emitOne @ events.js:116 emit @ events.js:211 _handle.close @ net.js:554 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 ChildProcess._handle.onexit @ internal/child_process.js:209 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 stream.socket.on @ internal/child_process.js:346 emitOne @ events.js:116 emit @ events.js:211 _handle.close @ net.js:554 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 ChildProcess._handle.onexit @ internal/child_process.js:209 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/ComposerService.js:77 Composer has something to say:
/Users/zhangzhi/.atom/packages/php-ide-serenata/lib/ComposerService.js:77 Composer has something to say:
[InvalidArgumentException]
Could not find package serenata/serenata with version 4.3.0.
/Users/zhangzhi/.atom/packages/php-ide-serenata/lib/ComposerService.js:77 Composer has something to say: create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []
/Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 ChildProcess._handle.onexit @ internal/child_process.js:209 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 Serenata unexpectedly closed. Either something caused the process to stop, it crashed, or the socket closed. In case of the first two, you should see additional output indicating this is the case and you can report a bug. If there is no additional output, you may be missing the right dependencies or extensions or the server may have run out of memory (you can increase it via the settings screen). process.on.code @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:184 emitTwo @ events.js:126 emit @ events.js:214 maybeClose @ internal/child_process.js:925 ChildProcess._handle.onexit @ internal/child_process.js:209 /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 The socket connection notified us of an error Error: connect ECONNREFUSED 127.0.0.1:20601 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182) onSocketError @ /Users/zhangzhi/.atom/packages/php-ide-serenata/lib/Proxy.js:308 emitOne @ events.js:116 emit @ events.js:211 emitErrorNT @ internal/streams/destroy.js:64 _combinedTickCallback @ internal/process/next_tick.js:138 _tickCallback @ internal/process/next_tick.js:180