adobe-photoshop / generator-core

Core Node.js library for Adobe Photoshop CC's Generator extensibility layer
MIT License
692 stars 97 forks source link

Communication error: 1 #422

Closed SturmB closed 4 years ago

SturmB commented 4 years ago

I'm following along with Davide Barranca's Native Applications for Photoshop course and so far everything has been working well once I got NW.js to run on Windows.

I'm now having an issue using his starter code for using Generator. I seem to get one of two error results.

  1. An "ECONNRESET" error:

image

  1. An "ECONNABORTED" error:

image

I have tried this with both Photoshop 2020 and Photoshop 2021 with the same result. I can tell that it's starting to communicate with Photoshop because I get a different error (ECONNABORTED) when PS isn't running.

Can anyone please help me to understand why I am getting these errors and, more importantly, how to address them?

SturmB commented 4 years ago

Seems that one little underdocumented hangup was preventing the app from working. I've written about it in a blog post.

TL;DR: Make sure to use "password" for the Password in the Enable Remote Connections setting in Photoshop.