cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HAT 1.7.2 installation issue

TomVanDoo
Active Contributor
0 Kudos

Hello,

I'm installing the new version of SAP HAT, but it keeps failing during the build of the companion app:

it seems to stumble on the Authproxy plugin.

I checked and the plugin is there in the MobileSDK3 Kapsel plugins.

mobilesdk is version 3.0.9.2

all prerequisites have been met...

I don't get it...

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

TomVanDoo
Active Contributor
0 Kudos

Bingo!

I downloaded the SAP HAT again, and unpacked it again.

Now the installation works like a charm.

So somewhere, somehow, I must've messed one of the config files up...

It's a new day!

Answers (3)

Answers (3)

kriti_bafna1990
Explorer
0 Kudos

Hello,

On running setup file of HAT 1.7 on Windows I am getting following error which states some unmet dependencies. And the setup exists.

I ran npm update and some other commands but still getting same error.


Not able to figure out what is wrong!


Regards,

Kriti


midhun_vp
Active Contributor
0 Kudos

Hi Kriti,

I would suggest you to create a new discussion since this discussion was already closed.

I assume that the warnings could be ignored. After this step is to taking you to a browser where you could test the setup?

I could also see that you are using HAT 1.7.1, the latest version available is 1.7.2. So please use the latest one.

Regards, Midhun

SAP Technology RIG

kriti_bafna1990
Explorer
0 Kudos

Hi Midhun,

Thanks for your reply!

I upgraded to 1.7.2 and there I am facing issues in build of Companion App.

Surely I'll create a new discussion posting my issue there.

Thanks,

Kriti

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

I just tried HAT 1.7.2 on my windows 10 laptop, it has installed successfully within 70 mins.

Do you see any info/error on npm screen running in parallel to HAT installation?

I am attaching logs created on NPM screen and 'Build the Companion App' section.

rileyrainey
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, Tom.

This is puzzling. I installed an early internal snapshot of HAT 1.7 on OS X and it has worked for me since then.

On my system:

$ cordova -v

5.1.1


$ echo $KAPSEL_HOME

/Users/i838039/SAP/MobileSDK3/KapselSDK


Same for you?


Riley

TomVanDoo
Active Contributor
0 Kudos

C:\Users\tdoors>cordova -v

5.1.1

C:\Users\tdoors>npm -v

1.4.21

C:\Users\tdoors>echo %kapsel_home%

C:\SAP\MobileSDK3\KapselSDK

All very much the same. So that at least is a good thing.

log:

Installing "kapsel-plugin-logon" for android

Fetching plugin "kapsel-plugin-authproxy" via npm

npm http GET https://registry.npmjs.org/kapsel-plugin-authproxy

npm http 404 https://registry.npmjs.org/kapsel-plugin-authproxy

TypeError: Cannot call method 'match' of undefined

    at RegClient.<anonymous> (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:119:29)

    at cb (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:158:9)

    at RegClient.<anonymous> (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:252:14)

    at Request.self.callback (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:148:22)

    at Request.emit (events.js:98:17)

    at Request.<anonymous> (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:876:14)

    at Request.emit (events.js:117:20)

    at IncomingMessage.<anonymous> (C:\Users\tdoors\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:827:12)

    at IncomingMessage.emit (events.js:117:20)

    at _stream_readable.j

No matter what, it always fails at the authproxy plugin. the funny thing is that all other plugins are just installed. the authproxy is the only plugin it does an http get for...