Giter VIP home page Giter VIP logo

Comments (14)

bsrdjan avatar bsrdjan commented on September 17, 2024

Could you please describe steps / commands, how to reproduce?

from node-rfc.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

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.

bsrdjan avatar bsrdjan commented on September 17, 2024

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.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

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.

bsrdjan avatar bsrdjan commented on September 17, 2024

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.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

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

image

from node-rfc.

bsrdjan avatar bsrdjan commented on September 17, 2024

node-red platform is not supported, see #148

from node-rfc.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

I have now changed the Node-Red version, the error remains the same:

image

But I also see that my node-rfc folder is missing:

image

from node-rfc.

bsrdjan avatar bsrdjan commented on September 17, 2024

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

Screenshot 2024-01-11 at 15 48 53

configure sapRFC call node

system

Screenshot 2024-01-11 at 15 54 43

bapi call

Screenshot 2024-01-11 at 15 51 32

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.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

What is the extension of your files in the bin folder of the SDK? .exe or .ex_?

from node-rfc.

bsrdjan avatar bsrdjan commented on September 17, 2024

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.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

thx

from node-rfc.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

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.

KaiserEngi avatar KaiserEngi commented on September 17, 2024

The installation worked. The following update was still missing for the SDK to work properly:

https://support.microsoft.com/de-de/topic/update-f%C3%BCr-visual-c-2013-und-visual-c-redistributable-paket-5b2ac5ab-4139-8acc-08e2-9578ec9b2cf1

thank you very much

from node-rfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.