Bug: SAS_USERNAME and SAS_PASSWORD not found
TeMeta opened this issue · comments
I have previously authorized my target "COSA" with https://sas.4gl.io
but receive the following message when running a test program
jeremy@LAPTOP-43CAINGU:/mnt/c/Users/jerem/projects/cosa_poc$ sasjs run aaaaa.sas -t COSA
ℹ Target COSA was found in your local sasjsconfig.json file. 18:10:54
ERROR An error has occurred when running your SAS code. 18:10:55
The following attributes were not found:
* SAS_USERNAME
* SAS_PASSWORD
Please run "sasjs auth" for your specified target to apply the correct credentials.
I think it might also also causing my react-seed-app
to get stuck at the login screen, checking web console shows the following when clicking 'LOGIN'
sasContext.tsx:138
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at t.eval (AuthManager.ts:212:13)
at eval (writeStream.ts:10:20)
at Object.eval [as next] (writeStream.ts:10:20)
at a (writeStream.ts:10:20)
Hi @TeMeta - thanks for raising
We are able to reproduce the sasjs run
bug for SASJS
serverType. It's also a problem in the VS Code extension - we'll fix it asap
The login issue though should not be related, we will confirm that though and get back to you
@TeMeta - should be fixed now, are you able to confirm?
🎉 This issue has been resolved in version 3.19.0 🎉
The release is available on:
Your semantic-release bot 📦🚀