Comments (14)
Could you please describe steps / commands, how to reproduce?
from node-rfc.
I can try yes
I have installed node.js in the LTS version with all additional addins.
then I tried to install the RFC Node, which unfortunately failed.
From then on it became uncontrolled and I can no longer say exactly what I tried
from node-rfc.
then I tried to install the RFC Node, which unfortunately failed.
which installation method?
Did you check SAP NWRFC SDK installation as described here?
https://github.com/SAP/node-rfc/blob/main/doc/installation.md
from node-rfc.
Ah, I don't have the SAP NWRFC SDK yet. Unfortunately, you can only download it with a login.
That's why I've now asked my customer if he can make it available to me.
from node-rfc.
It should work then. SAP NWRFC SDK is platform specific, therefore check if version for Windows is downloaded.
Also check if required VS C++ redistributable is installed: https://github.com/SAP/node-rfc?tab=readme-ov-file#windows
from node-rfc.
We are one step further and the installation worked with the SDK.
Now I have set all paths according to the instructions. However, when starting Node-Red, the error appears on the print screen
from node-rfc.
node-red platform is not supported, see #148
from node-rfc.
I have now changed the Node-Red version, the error remains the same:
But I also see that my node-rfc folder is missing:
from node-rfc.
As per following steps, I could not reproduce the same error on arm64 Mac
install and start node-red
mkdir test
cd test
npm i node-red
node-red
install node-red-contrib-saprfc via Menu > Manage Palette
configure sapRFC call node
system
bapi call
error after flow started
After flow (re)started, following error is reported
11 Jan 15:43:40 - [info] Stopping flows
11 Jan 15:43:40 - [info] Stopped flows
11 Jan 15:43:40 - [info] Starting flows
11 Jan 15:43:40 - [error] [saprfc-config:2fce0260e94f4686] Error: Pool configuration object must provide "connectionParameters"
The node-rfc is installed and loaded and error is thrown from node-rfc C++ wrapper because connectionParameters are not passed correctly.
It looks like bug in node-red-contrib-saprfc and @PaulWieland might eventually help, or you can create the issue in https://github.com/PaulWieland/node-red-contrib-saprfc
node-red integration is not in scope of this project support
from node-rfc.
What is the extension of your files in the bin folder of the SDK? .exe or .ex_?
from node-rfc.
It is exe, as in original NW RFC SDK package for Windows, on SAP Service Portal.
The download link is in https://me.sap.com/notes/2573790
from node-rfc.
thx
from node-rfc.
I have now had no more errors when installing node-rfc. However, I still get the same error when starting node.red:
PS C:\Users\RS> node-red
16 Jan 16:48:14 - [info]
Welcome to Node-RED
16 Jan 16:48:14 - [info] Node-RED version: v3.1.3
16 Jan 16:48:14 - [info] Node.js version: v20.11.0
16 Jan 16:48:14 - [info] Windows_NT 10.0.19045 x64 LE
16 Jan 16:48:15 - [info] Loading palette nodes
16 Jan 16:48:16 - [warn] ------------------------------------------------------
16 Jan 16:48:16 - [warn] [node-red-contrib-saprfc/saprfc] Error: Das angegebene Modul wurde nicht gefunden.
\?\C:\Users\RS\AppData\Roaming\npm\node_modules\node-red-contrib-saprfc\node_modules\node-rfc\build\Release\sapnwrfc.node
environment: {
"platform": {
"name": "win32",
"arch": "x64",
"release": "10.0.19045"
},
"env": {
"SAPNWRFC_HOME": "C:\nwrfcsdk",
"RFC_INI": "",
"nwrfcsdk_lib_on_path": true
},
"versions": {
"node": "20.11.0",
"acorn": "8.11.2",
"ada": "2.7.4",
"ares": "1.20.1",
"base64": "0.5.1",
"brotli": "1.0.9",
"cjs_module_lexer": "1.2.2",
"cldr": "43.1",
"icu": "73.2",
"llhttp": "8.1.1",
"modules": "115",
"napi": "9",
"nghttp2": "1.58.0",
"nghttp3": "0.7.0",
"ngtcp2": "0.8.1",
"openssl": "3.0.12+quic",
"simdutf": "4.0.4",
"tz": "2023c",
"undici": "5.27.2",
"unicode": "15.0",
"uv": "1.46.0",
"uvwasi": "0.0.19",
"v8": "11.3.244.8-node.17",
"zlib": "1.2.13.1-motley-5daffc7"
}
}
16 Jan 16:48:16 - [warn] ------------------------------------------------------
16 Jan 16:48:16 - [info] Settings file : C:\Users\RS.node-red\settings.js
16 Jan 16:48:16 - [info] Context store : 'default' [module=memory]
16 Jan 16:48:16 - [info] User directory : \Users\RS.node-red
16 Jan 16:48:16 - [warn] Projects disabled : editorTheme.projects.enabled=false
16 Jan 16:48:16 - [info] Flows file : \Users\RS.node-red\flows.json
16 Jan 16:48:16 - [info] Creating new flow file
16 Jan 16:48:16 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
from node-rfc.
The installation worked. The following update was still missing for the SDK to work properly:
thank you very much
from node-rfc.
Related Issues (20)
- 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
- [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
- String expected from NodeJS for the field of type 0
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.