on 02-10-2023 9:32 AM
In the journey "Developing with SAP Integration Suite", unit "API Provisioning", lesson "Creating an API Based on Slack" I get an error in "Task 6: Create a Product From Your API".
When I want to publish the product I get this error message:
The "Show details" are not really helpful:
Note: There are some discrepancies between the screenshots in the task (or the steps in the Exercise) to how the Integration Suite actually looks. I guess the screenshots were made with an older version. So I might be missing something here...
I noticed however, that the step with the API Business Hub Enterprise feature is missing entirely in the Exercise and this step really confuses me as I only get a "Login" button there, that is actually a "Logout" button. So I guess this could be related to my problem here?
What I see when clicking on API Business Hub Enterprise:
And what the "Login"-Button actually does:
In any case, I cannot proceed with the lessons as I cannot publish the product.
Thanks for help & Kind regards!
Hi @dhrubajyoti @Jarmo_Tuominen ,
unfortunately I cannot reproduce the issue. I have adjusted the instructions, can you try to execute these adjusted instructions?
remove package-lock.json file from your project
registry=https://registry.npmjs.com/
I took inspiration from the following question in the community https://answers.sap.com/questions/13544661/how-to-avoid-changes-in-package-lockjson-when-usin.html , but unfortunately as said cannot reproduce the issue myself.
Thanks and best regards,
Jannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I may be wrong but the URL ( http://nginx-redirector.repo-cache.svc.cluster.local/repository/appstudio-npm-group/) may be causing this. this may be locally accessible from SAP network but not from outside. This is just a vague thought. I tried opening this link and it says that it is not reachable. this URL is generated in package-lock.json file.
i tried command- "npm help config" result --- npm ERR! code ENOENT npm ERR! syscall spawn man npm ERR! path man npm ERR! errno -2 npm ERR! enoent spawn man ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/user/.npm/_logs/2022-03-30T16_44_12_569Z-debug-0.log
Hi @Tiwari,
thanks for your efforts and for keeping us informed. Could you please try to run command
npm ci
instead of the npm i or npm install? npm ci is doing a clean install of all dependencies, e.g. removing all existing node modules before installing them again.
Best regards,
Jannes
User | Count |
---|---|
16 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.