[qgis-qwc2] installation error node themesConfig.js

Richard Duivenvoorde rdmailings at duif.net
Wed Jan 18 10:36:11 PST 2017


Hi Steve,

looks like my problem:

https://github.com/qgis/qwc2-demo-app/issues/10

for me in Debian the Node version was just too old.

see the issue on how to install a newer version, after that it just
worked...

Regards,

Richard Duivenvoorde

On 18-01-17 17:00, Steve.Toutant at inspq.qc.ca wrote:
> hi,
> I'm trying to install qwc2 on ubuntu 16.04 and get the following error
> after yarn start
> 
> node themesConfig.js
> /var/www/html/qwc2-demo-app/themesConfig.js:42
>     let bboxw = extent[2] - extent[0];
>     ^^^
> 
> SyntaxError: Block-scoped declarations (let, const, function, class) not
> yet supported outside strict mode
>     at exports.runInThisContext (vm.js:53:16)
>     at Module._compile (module.js:374:25)
>     at Object.Module._extensions..js (module.js:417:10)
>     at Module.load (module.js:344:32)
>     at Function.Module._load (module.js:301:12)
>     at Function.Module.runMain (module.js:442:10)
>     at startup (node.js:136:18)
>     at node.js:966:3
> 
> I know nothing about node and yarn, I just follow the recipe. Is there
> something I can do or it is a bug
> thanks!
> 
> 
> 
> _______________________________________________
> qgis-qwc2 mailing list
> qgis-qwc2 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
> 



More information about the qgis-qwc2 mailing list