Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. jsonwebtoken support in n8n

jsonwebtoken support in n8n

Scheduled Pinned Locked Moved N8N
5 Posts 2 Posters 131 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hpz24H Offline
    hpz24H Offline
    hpz24
    wrote last edited by hpz24
    #1

    Hi,
    Iยดm playing a little bit arount with ghost blog and accessing the api via JWT.
    Unfortunately, there is so jsonwebtoken support in the n8n image (according to the error message):

    {
      "errorMessage": "Cannot find module 'jsonwebtoken' [line 1]",
      "errorDetails": {},
      "n8nDetails": {
        "n8nVersion": "1.94.1 (Self Hosted)",
        "binaryDataMode": "default",
        "stackTrace": [
          "Error: Cannot find module 'jsonwebtoken'",
          "    at /app/code/node_modules/@n8n/task-runner/dist/js-task-runner/require-resolver.js:16:27",
          "    at VmCodeWrapper (evalmachine.<anonymous>:1:243)",
          "    at evalmachine.<anonymous>:22:2",
          "    at Script.runInContext (node:vm:149:12)",
          "    at runInContext (node:vm:301:6)",
          "    at result (/app/code/node_modules/@n8n/task-runner/dist/js-task-runner/js-task-runner.js:162:63)",
          "    at new Promise (<anonymous>)",
          "    at JsTaskRunner.runForAllItems (/app/code/node_modules/@n8n/task-runner/dist/js-task-runner/js-task-runner.js:156:34)",
          "    at JsTaskRunner.executeTask (/app/code/node_modules/@n8n/task-runner/dist/js-task-runner/js-task-runner.js:117:26)",
          "    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
        ]
      }
    }
    

    Is there a chance to install that plugin via terminal or does it need a own special n8n image?

    Thx ๐Ÿ™‚

    1 Reply Last reply
    2
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Hello @hpz24
      Please review the Cloudron Documentation for N8N: https://docs.cloudron.io/packages/n8n/#custom-node-modules
      Isn't that what you want?

      1 Reply Last reply
      0
      • hpz24H Offline
        hpz24H Offline
        hpz24
        wrote last edited by
        #3

        Those who can read have a clear advantage...
        Thx, thats it.
        ๐Ÿ™‚

        1 Reply Last reply
        2
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Thanks for confirming.


          One question if you allow it.
          Did you check the documentation about the app before?
          If not, do you have some insight or suggestion what signal from Cloudron would have helped you to get to that documentation.

          I'd like to improve the UI/UX, so users get solutions faster and have more fun using Cloudron.

          1 Reply Last reply
          1
          • hpz24H Offline
            hpz24H Offline
            hpz24
            wrote last edited by hpz24
            #5

            I posted this in the evening and in bed that night I remembered that I hadn't even looked at the documentary (where it was demonstrably described) - no joke.

            Regarding your question: It might have helped if somewhere when creating the post - especionally in the support section (preferably BEFORE you hit the big send button), there had been another note about whether you had already looked at the documentation. ๐Ÿ™‚

            1 Reply Last reply
            2
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search