-
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
Unable to run on Windows 10 #115
Comments
Did you test the SAP NWRFC SDK installation by running If installed correctly, the output should be like: Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\bsrdjan>cd %SAPNWRFC_HOME%
C:\Tools\nwrfcsdk>cd bin
C:\Tools\nwrfcsdk\bin>rfcexec.exe
Error: Not all mandatory parameters specified
Please start the program in the following way:
rfcexec -t -a <program ID> -g <gateway host> -x <gateway service>
-f <file with list of allowed commands> -s <allowed Sys ID>
The options "-t" (trace), "-f" and "-s" are optional.
C:\Tools\nwrfcsdk\bin> |
@bsrdjan I can confirm that's the output I'm getting, log below.
|
SAP NWRFC SDK is correctly installed. Could you please uninstall the node-rfc from your project, run the |
@bsrdjan Please see below.
|
All looks correct, the package downloaded from npm, no build from source. Just tested in VS2019 and x86 Power Shells and all works: PS C:\src\test> node -e "console.log(require('node-rfc'))"
{ Client: [Function: Client], Pool: [Function: Pool] } Which node version are you using and what is the output of |
@bsrdjan I was originally on v8.16.1, but just re-upgraded to the latest v12.13.1. Running that returns x64. |
Looks like files are present. Oddly enough, when I request it directly it can not find the module.
|
With double backslash should work, like: node -e "console.log(require('.\\sapnwrfc.node'))" Which VC redistributable is installed? |
Thar seems to have went further.
I just removed all previous versions of VC redistributable and installed the version listed here. I'm currently on 14.0.23026.0 |
I have the same error on windows 10 |
I am getting the same error on Windows 10 for a few weeks now too, but I am able to run on Windows Server 2012 R2 Standard. I have tried a couple of combinations:
The issue on my Windows 10 Enterprise could well have started around the time I installed Creators Update. Maybe it has something to do with that? Oh, and I cannot reproduce the result from @gabenunez two posts ago on my Windows 10 machine (haven't tried on the others). Thank you so much for looking into this! |
see this |
Solution documented in #119 (comment), will update the README well |
Currently unable to get running on Windows 10.
I've ran through the steps listed here and keep running into the following error when I attempt to run my script.
I've went as far as downgrading Node to v8.16.1 (currently setup on a remote server and running successfully). Ran through my paths and uninstalled and reinstalling the package.
Any help would be super great!
The text was updated successfully, but these errors were encountered: