Error trying to run template plugin
-
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 startI 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.
-
OK, problem was that UBuntu 22 installs nodejs 12 by default needed to upgrade to 18