I just ran nodeBB locally. The layout and flow is different from this site ( community.nodebb.com ).
Most importantly, SSO is not there. How does one enable SSO ?
Please help. Thanks!
Some of my scripts are written with ES6 syntax, "let" instead of "var".
Example:
let leftLabel = 'hello world';
When I try to start nodebb, using the command:
./nodebb start
It will throw the following exception:
[meta/js] Could not compile nodebb.min.js: Unexpected token: name (leftLabel)
Please advise me how to enable ES6 compilation, thanks!
The minifier NodeBB currently uses does not support ES6 compilation, you will need to transpile your code into ES5 using Babel.