Daniel-t / node-red-contrib-aws

A collection of Node-RED nodes for AWS.
Apache License 2.0
56 stars 59 forks source link

Security Token Service Node not available after build #87

Closed Landsailor closed 2 years ago

Landsailor commented 2 years ago

Hi there,

I'm very new to node-red, so this might be something rudimentary that I'm missing. It's running on a Pi 4.

I need to generate temporary credentials via AWS STS. Following the Contributions instructions, I performed the following steps:

  1. Created flows to verify that node-red-contrib-aws is installed correctly
  2. Created build directory at /gen_scripts/build/
  3. Ran _node runbuild.js - Appeared to be successful.
  4. Edited test_build.js and inserted "sts-2011-06-15.min.json"
  5. Ran _node testbuild.js successfully
  6. Moved the STS.js and STS.html files to ~/node_modules/node-red-contrib-aws
  7. Added "AWS STS": "STS.js", to nodes in package.json
  8. Added "sts" to keywords to nodes in package.json
  9. Restarted node-red

There's no STS node available. The files appear to be valid.

Any ideas? Have I missed anything obvious?

Thanks in advance!

Landsailor commented 2 years ago

Somehow, I had two node-red-contrib-aws directories. Naturally, I was not working in the correct one.

~/.node-red/node_modules/ is the way.