$(function () { pageContext.i18n.modTalk = 'moderation talk'; pageContext.i18n.replyToComment = 'Reply'; pageContext.i18n.modTalkEmpty = 'moderation talk is empty'; pageContext.url.getModTalk = "/comments/%25ID%25/listModTalk.json"; pageContext.url.possibleCommentRecipients = "/comments/%ID%/possibleRecipients.json"; pageContext.url.commentEdit = '/comments/%25ID%25/edit.html'; pageContext.url.commentView = '/comments/%ID%/view.html'; pageContext.i18n.commentVisibility = { 'full': 'Viewable by all users', 'op': 'Viewable by the original poster', 'mod': 'Viewable by moderators', 'opAndMod': 'Viewable by moderators and the original poster', 'other': 'Advanced visibility', 'dialogTitle': 'Comment visibility', 'selectGroups': 'Visible to groups', 'selectOther': 'Other recipients', 'selectOriginalPoster': 'Original poster', 'selectModerators': 'Moderators', 'selectAssignees': 'Asked to answer users' }; pageContext.i18n.commentMenuLabels = { 'comment-edit': 'comments.menu.edit', 'comment-delete': 'comments.menu.delete', 'comment-convert': 'comments.menu.convert' };pageContext.i18n.answer= { bestAnswer: 'Best Answer', controlBar : { accept: 'Accept', unaccept: 'Unaccept', acceptCommand: 'Accept this answer as correct', cancelAcceptedCommand: 'Remove this answers accepted status' } }; window.croles = { u: false, op: false, m: false, og: false, as: false, ag: false, dc: false, doc: false, eo: false, ea: false }; tools.init({ q: { e: false, ew: false, eo: false, r: false, ro: false, d: false, dow: false, fv: false, c: false, co: false, p: false, tm: false , ms: false, mos: false }, n: { f: false, vf: false, vfo: false, vr: false, vro: false, c: false, co: false, vu: false, vd: false, w: false, wo: false, l: false }, c: { e: false, eo: false, d: false, dow: false, ta: false, tao: false, l: false }, a: { e: false, ew: false, eo: false, d: false, dow: false, a: false, aoq: false, ao: false, tc: false, tco: false, p: false, tm: false }, pc: croles }, { tc: true, nsc: true }); commandUtils.initializeLabels(); }); Skip to Content
0

XS Advanced Try reinstalling `node-fibers` error

Mar 09, 2017 at 12:31 PM

798

avatar image
Former Member

Hello

I got error when I push my first XS app.

I took the app from Github (myapp1) then I added Node Modules then I pushed it.

Here my error logs:

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).

Can you please help with this ?

I don't know how can I fix it.

Best Regards

Houssem

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Nov 07, 2017 at 04:09 PM
0

Hi there, I got the same error after update my XSA (to 1.0.66).

Looks like the older sap-xsjs nodejs module have difficulties to compile his own fiber module dependency with the most recent nodejs version available on xsa nodejs build pack.

Try to set the nodejs engine compatibility on your app by setting the following inside package.json file (works for me):

"dependencies": {
   <your modules dependencies>...
},
  "engines": {
    "node": ">=4.4.6 <5"
  }

You could also try to replace your sap-xsjs nodejs lib with the new sap@xsjs latest version. It will probably works too (just remember to take off the nodejs-engine restriction of package.json in this case).

Best Regards

Rafael Yegros.

Share
10 |10000 characters needed characters left characters exceeded