-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On windows: Impossibile trovare il modulo specificato - The specified module could not be found #127
Comments
Hi Sam, did you test if SAP NWRFC SDK is properly installed: cd %SAPNWRFC_HOME%\bin
rfcexec.exe and if the output is like in documentation ? |
More info: C:\Users\sbarzaghi\Documents>cd test-node-rfc C:\Users\sbarzaghi\Documents\test-node-rfc>ver C:\Users\sbarzaghi\Documents\test-node-rfc>npm install node-rfc
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\sbarzaghi\Documents\package.json'
C:\Users\sbarzaghi\Documents\test-node-rfc>set | findstr SAPNW C:\Users\sbarzaghi\Documents\test-node-rfc>set | findstr path C:\Users\sbarzaghi\Documents\test-node-rfc>rfcexec Below further optional parameters are listed. You can find their C:\Users\sbarzaghi\Documents\test-node-rfc>dir /s /w %SAPNWRFC_HOME% Directory di c:\nwrfcsdk [.] [..] [bin] [demo] [doc] [include] [lib] Directory di c:\nwrfcsdk\bin [.] [..] dev_rfc.log rfcexec.exe startrfc.exe Directory di c:\nwrfcsdk\demo [.] [..] companyClient.c readme.txt rfcexec.cpp rfcexec.h sapnwrfc.ini sflightClient.c sso2sample.c Directory di c:\nwrfcsdk\doc [.] [..] licenses.txt release_notes.txt Directory di c:\nwrfcsdk\include [.] [..] sapdecf.h sapnwrfc.h sapucrfc.h Directory di c:\nwrfcsdk\lib [.] [..] icudt50.dll icuin50.dll icuuc50.dll libicudecnumber.dll libsapucum.dll libsapucum.lib sapnwrfc.dll sapnwrfc.lib C:\Users\sbarzaghi\Documents\test-node-rfc>node -v C:\Users\sbarzaghi\Documents\test-node-rfc>node
The SAP NW RFC SDK could not be loaded, check the installation: http://sap.github.io/node-rfc/install.html#sap-nw-rfc-sdk-installation |
Yes, thet should be the DLL mentioned in prerequisites. Can you confirm that |
Hi, The prerequisite at https://github.com/SAP/node-rfc and note 2573790 is: I had already this package installed on my system. Using process monitor I get this: Copied the missing file from another program folder (microsoft teams) and now it's fine. Yes, rfcexec.exe works without it. Thank you |
Hi, I reinstalled the VC runtime 2013, repair options but no resolved. Thank you for support |
The repair and reinstallation do not always work on Windows. Users spend hours and days sometimes trying to make it work that way and finish with Windows re-installation. You may try with Windows trial fresh new install first. |
Hi,
On windows when I try to load the node-rfc module with:
const r = require ('node-rfc')
I get the message error:
Impossibile trovare il modulo specificato
In english should be "The specified module could not be found"
In the path the %SAPNWRFC_HOME%\lib is correct, launching the set command to check the path I get:
Path=...;C:\nwrfcsdk\bin;C:\nwrfcsdk\lib;
(no problems using it on ubuntu)
Thank you for help
Sam
The text was updated successfully, but these errors were encountered: