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

Cannot open "VM22 <embedded>:14 Cannot read property 'SOCKET' of undefined TypeError: Cannot read property 'SOCKET' of undefined" #813

Closed
asdf23 opened this issue Dec 20, 2019 · 1 comment

Comments

@asdf23
Copy link

asdf23 commented Dec 20, 2019

When opening the terminal I get this error:
VM22 <embedded>:14 Cannot read property 'SOCKET' of undefined TypeError: Cannot read property 'SOCKET' of undefined

VM22 <embedded>:14 Cannot read property 'SOCKET' of undefined TypeError: Cannot read property 'SOCKET' of undefined
    at new PipeSocket (/home/user/.atom/packages/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js:259:41)
    at new UnixTerminal (/home/user/.atom/packages/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch/lib/unixTerminal.js:87:25)
    at Object.fork (/home/user/.atom/packages/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch/lib/index.js:33:12)
    at Object.module.exports (/home/user/.atom/packages/platformio-ide-terminal/lib/process.coffee:25:22)
    at process.<anonymous> (/usr/share/atom/resources/app.asar/src/task-bootstrap.js:51:41)
    at emitTwo (events.js:126:13)
    at process.emit (events.js:214:7)
    at emit (internal/child_process.js:772:12)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
@chakibBH
Copy link

chakibBH commented Feb 28, 2020

Hi
I've got the same logged error here.

Adding versions if it help:

$ apm --version
>
apm  2.1.2
npm  6.2.0
node 8.9.3 x64
atom 1.33.1
python 2.7.17
git 2.17.1

$ atom --version
>
Atom    : 1.33.1
Electron: 2.0.16
Chrome  : 61.0.3163.100
Node    : 8.9.3

As stated by @the-j0k3r 's comment, updating atom and reinstalling the platformio package resolved the issue

@platformio platformio locked as resolved and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants