markusvankempen / node-red-contrib-lorawan-packet-decrypt-nwkey-appkey

Node-RED LoRaWAN packet Decrypter using NW Key and APP Key
MIT License
0 stars 3 forks source link

Issue after install #1

Closed luca-ferrari-roma closed 2 years ago

luca-ferrari-roma commented 3 years ago

Good morning Markus. Using your Example node I received this error:

15 Mar 09:23:07 - [info] Installing module: node-red-contrib-lorawan-packet-decrypt-nwkey-appkey, version: 1.0.4 15 Mar 09:23:11 - [info] Installed module: node-red-contrib-lorawan-packet-decrypt-nwkey-appkey 15 Mar 09:23:11 - [info] Added node types: 15 Mar 09:23:11 - [info] - node-red-contrib-lorawan-packet-decrypt-nwkey-appkey:lorawan-packet-decrypt-nwkey-appkey : Error: Cannot find module './lora-packet' Require stack:

image

Ideas? Thank you

markusvankempen commented 3 years ago

Hello Luca

Thank you for testing. I updated the path in github but not on the npm version e.g. var lora_packet = require('lora-packet'); version 1.0.8 should work ... https://flows.nodered.org/node/node-red-contrib-lorawan-packet-decrypt-nwkey-appkey let me know ... cheers

markusvankempen commented 3 years ago

Hello Luca

I fixed it try v1.0.9

Let me know how it goes

Cheers

On Mon, Mar 15, 2021, 04:31 Luca Ferrari @.***> wrote:

Good morning Markus. Using your Example node I received this error:

15 Mar 09:23:07 - [info] Installing module: node-red-contrib-lorawan-packet-decrypt-nwkey-appkey, version: 1.0.4 15 Mar 09:23:11 - [info] Installed module: node-red-contrib-lorawan-packet-decrypt-nwkey-appkey 15 Mar 09:23:11 - [info] Added node types: 15 Mar 09:23:11 - [info] - node-red-contrib-lorawan-packet-decrypt-nwkey-appkey:lorawan-packet-decrypt-nwkey-appkey : Error: Cannot find module './lora-packet' Require stack:

- C:\Users\ferrluca.node-red\node_modules\node-red-contrib-lorawan-packet-decrypt-nwkey-appkey\lorawan-packet-decrypt-nwkey-appkey\lorawan-packet-decrypt-nwkey-appkey.js

@.*** \registry\lib\loader.js

@.*** \registry\lib\index.js

@.*** \runtime\lib\nodes\index.js

@.*** \runtime\lib\index.js

C:\Users\ferrluca\AppData\Roaming\npm\node_modules\node-red\lib\red.js

  • C:\Users\ferrluca\AppData\Roaming\npm\node_modules\node-red\red.js 15 Mar 09:24:04 - [info] Stopping flows 15 Mar 09:24:04 - [info] [udp in:c5aef283.8887f] udp listener stopped 15 Mar 09:24:04 - [info] Stopped flows 15 Mar 09:24:04 - [info] Waiting for missing types to be registered: 15 Mar 09:24:04 - [info] - lorawan-packet-decrypt-nwkey-appkey

[image: image] https://user-images.githubusercontent.com/39159409/111124677-0ebd0780-8571-11eb-931d-6d0ba9e31a1e.png

Ideas? Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/markusvankempen/node-red-contrib-lorawan-packet-decrypt-nwkey-appkey/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB677ZPJ75S4GQNJCGISYADTDXAX7ANCNFSM4ZGCRC3Q .

luca-ferrari-roma commented 3 years ago

Thank you Markus. I have now managed to install the node.