Hi, I am trying my first steps in openiap.
My goal is to execute a job with an agent in openiap.
I set up vsCode with the openiap extension and nodejs.
At first I added a new openiap instance with my user.
Then I created a new folder and did the initialize project step. Files were loaded from git.
When I try to pack and publish then I always receive the error message: Cannot read properties of undefined (reading ‘username’)
When I choose the option to only pack to package then it works fine.
So there is a problem with the communication between vsCode and openiap I guess.
Since I cannot create a tgz package with the above error I manually executed “npm pack” and the package gets created.
I uploaded that package in openiap (under files).
Then I tried to run the package and I get the error: “Access denied, downloading”
I selected my user (member of admins group) as runas user. So what is the problem here?
What am I missing on both issues?
When I check the .env it shows for apiurl:
apiurl=https://< username>:admin@< domain >/API/v2 (looks like generated from instance)
Is that url correct? It is generated when performing initialize project
Is the generated jwt correct or do I have to change it?