on 12-28-2016 9:21 PM
Hi,
we have installed SAP HANA 2.0 and had to set our proxy values again. We did it, but if we try build an js-modul, than we get this error.
sh: mc: line 1: syntax error: unexpected end of file
sh: error importing function definition for `mc'
If I check for the log, we get this message:
T:\>xs logs di-local-npm-registry --recent Connected, dumping recent logs for app "di-local-npm-registry" 28.12.16 21:53:15.036 [STG/2] ERR /bin/sh: error importing function definition for `mc' 28.12.16 21:53:15.041 [STG/2] OUT Omitting npm install: node_modules directory is already present 28.12.16 21:53:15.042 [STG/2] OUT Copying SSL CA certificates... 28.12.16 21:53:15.047 [STG/2] ERR /bin/sh: mc: line 1: syntax error: unexpecte d end of file 28.12.16 21:53:15.047 [STG/2] ERR /bin/sh: error importing function definition for `mc' 28.12.16 21:53:15.747 [STG/2] ERR bash: mc: line 1: syntax error: unexpected e nd of file 28.12.16 21:53:15.747 [STG/2] ERR bash: error importing function definition fo r `mc' 28.12.16 21:53:15.751 [STG/2] ERR bash: mc: line 1: syntax error: unexpected e nd of file 28.12.16 21:53:15.751 [STG/2] ERR bash: error importing function definition fo r `mc' 28.12.16 21:53:27.196 [API] OUT Staged application "di-local-npm-registry" usi ng buildpack "sap_nodejs_buildpack" creating droplet 'cb93ddf6-bc0d-4199-9d14-92 016ac0f4a2' (duration 20s). 28.12.16 21:54:07.614 [API] OUT Updated application "di-local-npm-registry" (s tate: STARTED -> STOPPED). 28.12.16 21:54:07.622 [API] OUT Stopping 1 instance(s) of application "di-loca l-npm-registry". 28.12.16 21:54:07.964 [API] OUT Stopped all 1 instance(s) of application "di-l ocal-npm-registry" on Execution Agent hostxxxxx. 28.12.16 21:54:17.068 [API] OUT Updated application "di-local-npm-registry" (s tate: STOPPED -> STARTED). 28.12.16 21:54:17.076 [API] OUT Starting 1 instance(s) of application "di-loca l-npm-registry". 28.12.16 21:54:20.356 [API] OUT Starting new instance '90f69942-dcc4-41e8-94f2 -dc18c14198ca' of application "di-local-npm-registry" (port xxxxxx, index 0). 28.12.16 21:54:24.060 [APP/2-0] ERR bash: mc: line 1: syntax error: unexpecte d end of file 28.12.16 21:54:24.061 [APP/2-0] ERR bash: error importing function definition for `mc' 28.12.16 21:54:24.061 [APP/2-0] ERR /bin/sh: mc: line 1: syntax error: unexpe cted end of file 28.12.16 21:54:24.064 [APP/2-0] ERR /bin/sh: error importing function definit ion for `mc' 28.12.16 21:54:25.774 [APP/2-0] OUT warn --- config file - ........ /executionroot/90f69942-dcc4-41e8-94f2-dc18c14198ca/app/si nopia/config.yaml 28.12.16 21:54:26.250 [APP/2-0] OUT warn --- http address - http://0.0.0.0: 50062/ 28.12.16 21:56:36.000 [RTR] OUT 127.0.0.1 - - to host:44444 "G ET /node-xstest HTTP/1.1" 404 sent 43 in 716 by 00H-90f69942-dcc4-41e8-94f2-dc18 c14198ca 28.12.16 21:56:36.673 [APP/2-0] OUT http --> 404, req: 'GET http://registry .npmjs.org/node-xstest', bytes: 0/2 28.12.16 21:56:36.688 [APP/2-0] OUT http <-- 404, user: undefined, req: 'GE T /node-xstest', error: no such package available
Any ideas?
Problem is solved.
On the hana machine were a lot of files, inclusive a mc file, which caused this error. After an restart of the hana db were all files cleared and the problem was fixed.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
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.