Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Error trying to run template plugin

    Scheduled Pinned Locked Moved Windy Plugins
    3 Posts 2 Posters 1.2k Views 1 Watching
    Loading More Posts
    • 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.
    • T Offline
      tomA27 | Premium
      last edited by

      Hi,
      I thought I would give Windy plugins a go.
      Running on UBUNTU
      After...
      git clone https://github.com/windycom/windy-plugin-template.git
      cd windy-plugin-template
      npm install
      npm start

      I get the following syntax error...

      tom@tom-HP15s:~/windy-plugin-template$ npm start

      windy-plugin-template@3.0.0 start
      rollup -w -c

      /home/tom/windy-plugin-template/node_modules/rollup/dist/bin/rollup:1342
      valueString ??= String(value);
      ^

      SyntaxError: Unexpected token '?'
      at wrapSafe (internal/modules/cjs/loader.js:915:16)
      at Module._compile (internal/modules/cjs/loader.js:963:27)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      at Module.load (internal/modules/cjs/loader.js:863:32)
      at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      at internal/main/run_main_module.js:17:47
      tom@tom-HP15s:~/windy-plugin-template$

      Any pointers would be hugely appreciated. Thank you.

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tomA27 @tomA27 | Premium
        last edited by

        OK, problem was that UBuntu 22 installs nodejs 12 by default needed to upgrade to 18

        1 Reply Last reply Reply Quote 0
        • R rshaw13 referenced this topic on
        • koalageddonK Offline
          koalageddon
          last edited by

          I have encountered errors when trying to run template plugins too! It often happens due to incorrect configurations or version mismatches. I usually check the plugin documentation, verify dependencies, and ensure everything is up-to-date. Anyone else experience this and found a smooth fix?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windy Community  |  Powered by excellent NodeBB
          Terms of Use     Privacy Policy     Windy.com