Skip to content

Node JS fails to build for io websocket example  #87

@ZBB-XD

Description

@ZBB-XD

https://github.com/sanggusti/uxp-photoshop-plugin-samples/tree/main/io-websocket-example

I find it’s instructions to be lacking. I have been unable to get the example to work primarily due to the nodejs requirements. The only instruction it gives is

cd server
npm install

Which is presumptuous. The real instructions are:

  1. ensure Node JS and npm are installed. If you don’t have those, install nvm and then use that to install the first two.
  2. open a command prompt in the plugin’s root folder
  3. type

cd server
npm install

And they could definitely give some troubleshooting tips for when their own packages fail to install. For example, I had permissions issues and needed to turn of strict-ssl temporarily, since I trust Adobe to not host malicious code. And then I also had to remove the existing package-lock.json because it was resolving to a private URL or something and I was getting a 401 error unable to authenticate. After all that, I was still unable to get the install to complete properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions