I am trying to install a codegen project on my server, like I did it before. It used to work, but now I get the error “Incorrect Plasmic credentials”.
The logs say:
Let’s get started! Here’s what we’ll do:
- Authenticate with Plasmic
- Create a React/Next/Gatsby repo
- Integrate with Plasmic
==================================================
AUTHENTICATING WITH PLASMICPlasmic credentials are ok.
but then:
found 0 vulnerabilities
Successfully added @plasmicapp/react-web dependency.
Plasmic error: Incorrect Plasmic credentials; please check your .plasmic.auth file or your project API tokens.Error: Incorrect Plasmic credentials; please check your .plasmic.auth file or your project API tokens.
at PlasmicApi.post (/home/stardust/webapps/stardust/stardust/node_modules/@plasmicapp/cli/dist/index.js:502214:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PlasmicApi.resolveSync (/home/stardust/webapps/stardust/stardust/node_modules/@plasmicapp/cli/dist/index.js:502056:18)
at async sync (/home/stardust/webapps/stardust/stardust/node_modules/@plasmicapp/cli/dist/index.js:504631:29)
I found a file called .plasmic.auth inside home > username with the credentials.
When I delete that file and re-run the create-plasmic-app, the script still says that the credentials are found (??) and then that they are incorrect.
How can I solve that issue?
Thanks!