Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Getting error Node Js with RFC call

Former Member
0 Likes
1,752

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

1 REPLY 1
Read only

pfefferf
Active Contributor
0 Likes
815

I think you simply have not installed the module. Please execute the following command in your projects root folder:

npm install node-rfc