Comments (10)
As you can see the startrfc does not have .exe
suffix, which means the SAP NW RFC SDK on your system is not for Windows platform. Many other users make unfortunately the same mistake. When open the Service Portal page to download the SDK, users expect the SDK for their platform is automatically pre-selected and just download the package. It is unfortunately not the case and there is a dropdown box to select for which platform the SDK shall be downloaded.
Can you install the RFC SDK for Windows and re-test?
from node-rfc.
The installation log shows that node-rfc binary build from source is triggered during installation, instead of using pre-built node-rfc fetched from NPM. The build from source should not be triggered on Windows and should work when requested by npm install node-rtc --build-from-source
. In your installation the build from source is triggered for some reason and it fails.
I could not reproduce on Windows with node 20.7.0 and npm 10.1.0, both the standard npm install node-rfc
and build from source installation worked.
Which npm version is installed on your system and what kind of system are you using? Standard Windows notebook, server, VM ...? Is there anything special with your Windows system or NPM configuration? What is the output of npm config list
?
I also see log lines not related to node-rfc, like express etc. Do you know why they show up?
Can you do one more test in empty project directory like below and attach the installation log?
mkdir test
cd test
npm init -y
npm install --loglevel verbose node-rfc
from node-rfc.
Hi @bsrdjan ,
I'm using standard windows laptop with Windows 11 enterprise OS.
Kindly check the output of npm config list
please find attachment of installation logs.
2023-10-07T19_05_48_814Z-debug-0.log
from node-rfc.
Did you test in new created empty directory? The first error is 86 warn cleanup [Error: EPERM: operation not permitted
, like your user does not have permissions for certain operations.
Can you repeat the test with admin rights, like open the command console as Administrator and re-test ?
More convenient could be to install NodeJS version manager and use it to install and activate the node version you want to use. Then no admin rights are needed:
nvm install 20.7.0
nvm use 20.7.0
mkdir test
npm init -y
npm install --loglevel verbose node-rfc
from node-rfc.
Hi @bsrdjan ,
I repeated the steps by running command prompt as administrator and using node 20.7.0 using nvm.
Please find the attached logs.
2023-10-09T13_28_05_294Z-debug-0.log
from node-rfc.
Hello @Uday-Kiran,
I see only one log. Is it the one with admin rights or with nvm. Can you send also the other one?
Are all pre-requisites installed and which version of SAP NW RFC SDK are you using? Need the output of
cd %SAPNWRFC_HOME%\bin
startrfc -v
Can you please also copy and send the full CMD history (commands input and output) of
mkdir issue302
cd issue302
npm init -y
npm install --loglevel verbose node-rfc
from node-rfc.
Hi @bsrdjan ,
I followed installation instructions to install sap nw rfc sdk
The above logs was generated by running cmd as administrator and nvm use 20.7.0 followed by
mkdir test npm init -y npm install --loglevel verbose node-rfc
Find below CMD history and corresponding logs
2023-10-09T17_18_40_531Z-debug-0.log
from node-rfc.
But is startrfc.exe file there? What is the output of dir command in %SAPNWRFC_HOME%\bin folder?
Users sometimes download SAP NWRFC SDK for the wrong platform. Did you check if correct RFC SDK is copied on your Windows system?
Here are installation instructions. Could you please verify and re-test startrfc ?
from node-rfc.
Yes @bsrdjan I followed the instructions to install SAP NWRFC SDK. Followed all steps to create environment variables.
I have downloaded the right files for windows.
nwrfc750P_12-70002726.zip
from node-rfc.
Thanks @bsrdjan ,downloading the proper SDK for windows 64 bit resolved my issue.
Yes people can get confused and download the SDK on the download portal, as you said we have to select the required platform from dropdown and download necessary package.
from node-rfc.
Related Issues (20)
- error: ‘condition_variable’ in namespace ‘std’ does not name a type
- Can't able to upload excel file using node rfc HOT 1
- Change we change the default port 3300 to 3600 without changing connection string HOT 4
- receving idoc using node-rfc HOT 3
- Installation fails HOT 14
- [rl-reuse_tool-2] Violation against OSS Rules of Play
- [rl-reuse_tool-4] Violation against OSS Rules of Play
- Problem with node 20.10 LTS HOT 1
- Can't get environment on Windows env HOT 2
- Dynamic Connection and Cache HOT 8
- node-rfc installation not working HOT 2
- Difference between client.call and client.invoke HOT 4
- Using node-rfc on web workers HOT 1
- Getting Error: Conversion Error between Character Sets HOT 1
- SAP document listener in node js HOT 1
- TypeScript types for exceptions
- Node Js server crashes after a few RFC calls
- device or resource busy
- Call for Maintainers & Support
- Backslash in password does not work via rfc login
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-rfc.