on 02-22-2019 1:48 PM
Hi! I tried building one of my HTML5 projects using the mta-builder with NEO as the target. I used the following command:
java -jar mta_archive_builder-1.1.7.jar --build-target=NEO build
When I tried running after connecting to the Corporate network, I got the following error:
npm ERR! 404 Not Found: @sap/approuter@5.11.0
And when I ran it after connecting to the non-corporate internet connection, I got the error:
network request to https://registry.npmjs.org/@sap%2fapprouter failed, reason: getaddrinfo ENOTFOUND proxy.wdf.sap.corp proxy.wdf.sap.corp:8080
For more information kindly refer to the snip of my execution below:
Is this a common occurance? And how can I overcome this?
Hi,
As far as I know, the build target should be CF. You should also have .npmrc file with the following content:
@sap:registry=https://npm.sap.com/And, if you don't have uideployer and approuter modules as part of your project, please follow the following instructions:
Thanks,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex,
Thanks for the reply. 🙂
I have added '@sap:registry= https://npm.sap.com/' like you have mentioned. But it is giving me the same issue when I gave the build target as CF. 😞
I followed the steps mentioned in the blog: https://blogs.sap.com/2018/05/18/deploy-mta-app-on-neo-starting-from-the-sap-web-ide/
Here there is no mention of ui-deployer and approuter(Are they necessary?). Instead the author mentions about a .mtar file being generated when the project is built using mta-archive builder and the functionality of this .mtar file seems similar to the ui-deployer mentioned in the link you have given(correct me if I am wrong).
Regards,
Pranav
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.