Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node JS fails to build for io websocket example #87

Open
ZBB-XD opened this issue Feb 23, 2023 · 0 comments
Open

Node JS fails to build for io websocket example #87

ZBB-XD opened this issue Feb 23, 2023 · 0 comments

Comments

@ZBB-XD
Copy link

ZBB-XD commented Feb 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant