-
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
The specified module could not be found #210
Comments
Is it maybe running on Microsoft IIS: #139 ? Did you check if Visual C++ 2013 re-distributable installed: https://github.com/SAP/node-rfc#windows ? How is node-rfc installed? Locally/globally, using |
If nothing of above helps, the |
Thanks for quick response!
And I see file sapnwrfc.node in bindings folder. How can I get help procman? |
procman can trace the DLLs loading chain, to find out which DLL exactly fails. Example: #127 (comment) The VSCode itself does not matter but the re-distributable is important (Add/Remove Programs screenshot): If x86 not needed, best remove it and/or try to re-install the re-distributable. You can trace runtime info before exception, adding something like this in // verify SAP NWRFC SDK is on PATH
console.log(process.env.PATH)
try {
exports.noderfc_binding = noderfc_binding = require("../binding/sapnwrfc");
} Could you please post the output of: dir %SAPNWRFC_HOME%\lib |
The PowerShell syntax is The NWRFC SDK looks like correct 64 bit version, no idea what else to check. RFC SDK files look correct and should work with the "lib" folder on PATH. Perhaps to try with another Windows user or fresh new Windows installation. C++ redistributable re-installations do not always work as expected. Some users reported in Issues that only re-installation helped. Or trace with procmon first. |
Reinstallation would be the last option. |
Problem solved. Thanks for help, Srdjan. |
I have installed SAP RFC SDK 750 on win X64. All post installation checks are OK, till loading node-rfc modules.
Copying nwrfcsdk\lib files (dll,...) to widows\system32 also didn't help
Environment looks OK:
C:\Users\si4uoh>@echo off
findstr Patch "%SAPNWRFC_HOME%\lib\sapnwrfc.dll"
750 Patch Level 7
Also PATH is OK
STARTRFC returns OK response form target SAP system (SAP system ID , netweaver version,...)
BUT node -p "require('node-rfc')" returns:
How I can find where the problem is?
The text was updated successfully, but these errors were encountered: