adobe-photoshop / generator-core

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

Photoshop communication error #384

Closed andrejoblakceltra closed 7 years ago

andrejoblakceltra commented 7 years ago

When setting up generator development environment exactly as described here: https://github.com/adobe-photoshop/generator-core/wiki/Generator-Development-Environment-Setup and then running generator with node app.js -v -f ../plugins results in the following error:

[info:core 14:46:02.233 C:\development\photoshop\generator\generator-core\lib\generator.js:103:17] Launching with config:
{}
Communication error: 2
[warning:core 14:46:02.255 C:\development\photoshop\generator\generator-core\lib\generator.js:131:25] photoshop communications error: {"error":"Photoshop communication error: 2"}
Communication error: 2
[warning:core 14:46:02.258 C:\development\photoshop\generator\generator-core\lib\generator.js:131:25] photoshop communications error: {"error":"Photoshop communication error: 2"}
[info:core 14:46:02.261 C:\development\photoshop\generator\generator-core\lib\generator.js:117:25] Photoshop connection closed
Exiting with code 0: Generator close event

I'm using:

I get the same error on MacOS with:

This started happening today when I updated generator core from the repository.

mcilroyc commented 7 years ago

The master branch of this repository is not guaranteed to run on the released version of photoshop. Please use the version of generator-core that's equivalent to the built-in version of generator included in your photoshop (likely 3.8.4).