Hi, Has anyone else gotten this error, or know whe...
# dev-ops
e
Hi, Has anyone else gotten this error, or know where I can contact support for
suitecloud-cli
?
Copy code
> suitecloud-project@1.0.0 deploy:setup
> suitecloud account:savetoken --account $NETSUITE_ACCOUNT_ID --authid DeployToken --tokenid $NETSUITE_TOKEN_ID --tokensecret $NETSUITE_TOKEN_SECRET

Something went wrong when trying to save credentials. Contact support.
I am using
suitecloud version 1.8.0
and
node v18.16.0
(have tested other node versions also) I get this to work locally, but not in a Docker container, or in my build pipeline
s
I've encountered this before and after much blood sweat and tears I figured out it had something to do with the Docker container I was using, specifically with the more lightweight Alpine images. I suspect they're missing some underlying libs needed by the jdk causing the error though it's a shot in the dark. Try using a meatier image like node:18-slim
πŸ˜… 1
@Rexford Semrad III
@Ali Syed (NS DevTools QA)
e
Thanks, I am using
google/cloud-sdk:458.0.1-alpine
since I also do some
gcloud
stuff during the deploy πŸ˜• But I can try to see if the error goes away with a slim node image. I wish the error message was a bit more verbose πŸ˜…
πŸ˜‚ 1
s
We can only hope and dream
πŸ˜… 1
e
Thanks, I got node:18-slim to work πŸ‘ My
kubectl
did not install on that image, but that might be simpler to fix.
Thank you @SimonC
s
You may experiment with other images and maybe install npm and node yourself but that’s an image I found that works. I’d love to know the exact reason too. Pleasure
e
I will do some testing and share my findings πŸ™‚ Feature request: error-log
a
You need to add following to your docker before running any suitecloud command if you run into error you shared before. Its only needed in some images. Others have it already.
RUN apk update RUN apk add bash RUN apk add dbus RUN dbus-uuidgen --ensure
πŸ‘ 2
s
Epic stuff Ali thanks