oracle / netsuite-suitecloud-sdk

SuiteCloud Software Development Kit (SuiteCloud SDK) are the set of tools that allow you to customize accounts and create SuiteApps through SuiteCloud Development Framework (SDF).
https://www.netsuite.com/
Universal Permissive License v1.0
190 stars 59 forks source link

There was an error when accessing the .suitecloud-sdk/credentials file. Authenticate again to create the file. #771

Closed jdvot closed 5 months ago

jdvot commented 7 months ago

Select the SuiteCloud tool where you encountered the issue

SuiteCloud CLI

Version of the SuiteCloud Tool

1.8.0

Operating system

macOs on 14.1.1 (23B81)

Node Version / VSCode Version

v18.18.2

JAVA Version

java 17.0.9 2023-10-17 LTS

Bug description

I used the command "suitecloud account:setup -i" and my terminal returned an error: "There was an error when accessing the .suitecloud-sdk/credentials file. Authenticate again to create the file."

Steps To Reproduce

  1. when running suitecloud account:setup -i

Actual Output

There was an error when accessing the .suitecloud-sdk/credentials file. Authenticate again to create the file.

Expected Output

No response

Anything else?

No response

davidecorreu commented 7 months ago

Hi @jdvot ,

Can you check the permissions/owner for the ~/.suitecloud-sdk folder?

If its owned by the root user you should check this https://github.com/oracle/netsuite-suitecloud-sdk/issues/662#issuecomment-1686329882 .

alisyed-19 commented 7 months ago

@jdvot Can you please check the solution above and let us know if it works?

lfpvillegas commented 5 months ago

Closed due to inactivity