2017-03-09 89 views
0

我有錯誤,當我把我的第一次XS的應用程序。HANA XS高級錯誤與SAP纖維

我把應用程序從GitHub(myapp1)然後我加入節點模塊,然後我把它。

這裏我的錯誤日誌:

Connected, dumping recent logs for app "myapp1-xsjs" 
09.03.17 12:29:29.339 [STG/4] OUT Unpacking Node.js archive... 
09.03.17 12:29:29.350 [STG/4] OUT Omitting npm install: node_modules directory is already present 
09.03.17 12:29:29.350 [STG/4] OUT Copying SSL CA certificates... 
09.03.17 12:29:37.153 [API] OUT Staged application "myapp1-xsjs" using buildpack "sap_nodejs_buildpack" creating droplet '7cf6beb7-4566-4591-aa19-0f015f9d16a0' (duration 14s). 
09.03.17 12:29:37.873 [API] OUT Updated application "myapp1-xsjs" (state: STARTED -> STOPPED). 
09.03.17 12:29:37.885 [API] OUT Stopping 1 instance(s) of application "myapp1-xsjs". 
09.03.17 12:29:37.995 [API] OUT Updated application "myapp1-xsjs" (state: STOPPED -> STARTED). 
09.03.17 12:29:38.007 [API] OUT Starting 1 instance(s) of application "myapp1-xsjs". 
09.03.17 12:29:44.561 [API] OUT Starting new instance '175254a7-59f4-46f8-a87e-3b9c72a427e8' of application "myapp1-xsjs" (port 50011, index 0). 09.03.17 12:29:46.520 [APP/4-0] ERR /hana/shared/HPO/xs/ea_data/gisu546/executionroot/175254a7-59f4-46f8-a87e-3b9c72a427e8/app/node_modules/sap-xsjs/node_modules/sap-fibers/fibers.js:19 09.03.17 12:29:46.521 [APP/4-0] **ERR throw new Error('`'+ modPath+ '.node` is missing. Try reinstalling `node-fibers`?');** 
09.03.17 12:29:46.521 [APP/4-0] ERR^09.03.17 12:29:46.521 [APP/4-0] ERR 
09.03.17 12:29:46.521 [APP/4-0] ERR **Error: `/hana/shared/HPO/xs/ea_data/gisu546/executionroot/175254a7-59f4-46f8-a87e-3b9c72a427e8/app/node_modules/sap-xsjs/node_modules/sap-fibers/bin/linux-x64-LE-v8-5.1/fibers.node` is missing. Try reinstalling `node-fibers`?** 
09.03.17 12:29:46.521 [APP/4-0] ERR at Object.<anonymous> (/hana/shared/HPO/xs/ea_data/gisu546/executionroot/175254a7-59f4-46f8-a87e-3b9c72a427e8/app/node_modules/sap-xsjs/node_modules/sap-fibers/fibers.js:19:8) 09.03.17 12:29:46.521 [APP/4-0] ERR at Module._compile (module.js:570:32) 09.03.17 12:29:46.521 [APP/4-0] ERR at Object.Module._extensions..js (module.js:579:10) 
09.03.17 12:29:46.521 [APP/4-0] ERR at Module.load (module.js:487:32) 
09.03.17 12:29:46.521 [APP/4-0] ERR at tryModuleLoad (module.js:446:12) 
09.03.17 12:29:46.521 [APP/4-0] ERR at Function.Module._load (module.js:438:3) 09.03.17 12:29:46.521 [APP/4-0] ERR at Module.require (module.js:497:17) 09.03.17 12:29:46.521 [APP/4-0] ERR at require (internal/module.js:20:19) 09.03.17 12:29:46.521 [APP/4-0] ERR at Object.<anonymous> (/hana/shared/HPO/xs/ea_data/gisu546/executionroot/175254a7-59f4-46f8-a87e-3b9c72a427e8/app/node_modules/sap-xsjs/node_modules/sap-fibrous/lib/fibrous.js:6:11) 
09.03.17 12:29:46.521 [APP/4-0] ERR at Object.<anonymous> (/hana/shared/HPO/xs/ea_data/gisu546/executionroot/175254a7-59f4-46f8-a87e-3b9c72a427e8/app/node_modules/sap-xsjs/node_modules/**sap-fibrous/lib/fibrous.js**:192:4) 09.03.17 12:29:52.866 [API] OUT Cleared instance '840d8505-2c30-4c93-8a04-21fb0139bb45' of application "myapp1-xsjs" (port 50012, pid 11684). 

可以請你幫助呢?

我不知道我該如何解決。

問候

Houssem

回答

1

最有可能使用的是一個較新的node.js引擎比這個版本的SAP-xsjs被釋放了。這會導致依賴於本地模塊(如sap-fibre)失敗,因爲在收縮打包模塊中找不到用於較新節點API版本的本機二進制文件。

嘗試通過在應用程序的的package.json引擎場迫使較低的node.js引擎(0.12.x或4.x版)或嘗試升級SAP-xsjs到支持較新版本的Node.js 6.9

最好的