‎2019 May 03 1:56 PM
error.pngI am trying to call Remote function call (RFC) from node js. There is one module available in node js to connect with RFC called node-rfc. After install this module when i going to use it it gave me some error when i start my server.
var rfc = require('node-rfc');
error Error: The specified module could not be found. \\?\C:\Users\ashish.ashish\Documents\Project\library-app-backend-master\node_modules\node-rfc\lib\binding\win32-x64-node-v64\sapnwrfc.node at Object.Module._extensions..node (internal/modules/cjs/loader.js:730:18) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Users\ashish.ashish\Documents\Project\library-app-backend-master\node_modules\node-rfc\lib\wrapper\sapnwrfc-client.js:9:15) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32)
Please help me if anyone know about this error how to solve it.
gopal.anand
‎2019 May 19 7:44 AM
I think you simply have not installed the module. Please execute the following command in your projects root folder:
npm install node-rfc