Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Trouble running appliactions in XS Advanced SPS12

$
0
0

I have had XS Advanced configured and working for a few days but it has suddenly stopped working with the following error when I try to run an application through the Web IDE:

 

6/16/16 11:19:54.916 AM [APP/3300-0] ERR /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/a2c7bcb0-3a0a-4034-92cd-4f0f65045202/app/appcontroller.Sz9kMlaH2x/start_node.sh: line 3: node: command not found

Application failed to run

6/16/16 11:20:14.964 AM [APP/3300-1] ERR /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/cfe82016-4b83-440e-b3da-11a00707e551/app/appcontroller.Sz9kMlaH2x/start_node.sh: line 3: node: command not found

6/16/16 11:20:14.964 AM [APP/3300-1] ERR /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/cfe82016-4b83-440e-b3da-11a00707e551/app/appcontroller.Sz9kMlaH2x/start_node.sh: line 3: node: command not found

6/16/16 11:20:44.945 AM [APP/3300-2] ERR /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/01530289-0191-4bae-9e25-ed2f07cf7208/app/appcontroller.Sz9kMlaH2x/start_node.sh: line 3: node: command not found

6/16/16 11:20:44.945 AM [APP/3300-2] ERR /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/01530289-0191-4bae-9e25-ed2f07cf7208/app/appcontroller.Sz9kMlaH2x/start_node.sh: line 3: node: command not found

 

 

Around the time this started happening I was trying out the XS CLI tool where I was getting certificate errors which was quickly fixed by adding a trusted certificate. Since then, I can not start any NodeJS application. I can still use the WebIDE to run html5 modules.

 

I decided to have a little investigate when I comes to this: start_node.sh: line 3: node: command not found

 

I logged onto the system via SSH and ran the following:

 

$ cat /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/3c0d91a8-842a-4312-ac8d-8ce84227acaf/app/appcontroller.iUnNhHXWQc/start_node.sh

#!/usr/bin/env bash

export PATH="$PWD/appcontroller.iUnNhHXWQc/vendor/node/bin:$PATH"

node appcontroller.iUnNhHXWQc/AppController/server.js

 

I noticed that the script adds vendor/node/bin to the path so I decided to look in that folder:

 

ll /sapmnt/shared/SM1/xs/ea_data/prd-nohana01/executionroot/3c0d91a8-842a-4312-ac8d-8ce84227acaf/app/appcontroller.iUnNhHXWQc/vendor/

total 0

 

Which showed the folder as empty, soon after the folder was destroyed but I was certain to check that checked the folder before this.

 

I think a build went wrong at some point and since then the system has not been able to recover. I have tried creating entirely new projects from the templates and building those but that still did not work.

 

Any ideas would be useful!


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>