Closed tb-b closed 2 years ago
Strange. Did you try a fresh clone of Bolt CEP or this plugin? I recently updated the git permissions for that binary in this project for Mac, and they might not get updated without a fresh copy.
Reinstall of vite-cep-plugin in Bolt seem to have helped. Though this copy of Bolt was installed earlier today so I'm not sure why the vite-cep-plugin reinstall helped since it's the same version.
Cool, I think file permissions with Git are a bit funky, and require a fresh copy. Gonna close this one out for now, but open a new Issue if it crops up again. Thanks!
Seems to be back again. Reinstall has no effect, but it seems to be random (was running fine for a few days) so I'm suspecting problem on my end rather than the package.
the only solution I've found so far is to remove ./ as mentioned above
@iconictb removing ./
errors out for me on Mac. It sounds like you have ZXPSignCmd
installed globally, can you test if it works in any directory?
Maybe try a fresh install in a directory you reset the permissions on.
Yes, I had it globally installed but removing wouldn't get rid of the permissions error. Had to run chmod 700 ./ZXPSignCmd
in vite-cep-plugin/lib/bin - seems to be working fine, if it pops up again I'll just edit the permissions instead of removing ./ from the path. Can close, thanks!
Thanks for the tip, will note in the docs.
Hello. I am a newbie and I tried just to build a Demo project (which is created by default) with nfkp zxp b got the same error
/bin/sh: ./ZXPSignCmd: Permission denied
I read the thread and do not understand anything, can you tell me what to do step by step.
@alexIV-0 Run
cd node_modules/vite-cep-plugin/lib/bin
chmod 700 ./ZXPSignCmd
I'm getting Permission denied on Mac (M1 if relevant) with ./ZXPSignCmd, coming from here
var zxpCmd = os.platform() == "win32" ? "ZXPSignCmd" : "./ZXPSignCmd";
Running it without "./" seems to solve the permission issue for me.