@youhosi said in [nodebb-theme-oxide] Oxide Style! 3.0.26:
npm install [email protected] && ./nodebb upgrade && ./nodebb restart && ./nodebb log
After i do this, everything is OK, no errors.
Then i choose Oxide theme in admin panel and do "rebuild and restart". No matter, how i do this, via admin panel or with shell command "./nodebb upgrade && ./nodebb restart" the same error appears during build, when Oxide theme is selected.
2019-02-13T13:28:14.677Z [/sockets/nodebb.sock/13952] - [32minfo[39m: [build] plugin static dirs build completed in 0.624sec
2019-02-13T13:28:21.883Z [/sockets/nodebb.sock/13952] - [32minfo[39m: [build] client side styles build completed in 7.826sec
2019-02-13T13:28:23.332Z [/sockets/nodebb.sock/13952] - [31merror[39m: [build] templates build failed
2019-02-13T13:28:23.333Z [/sockets/nodebb.sock/13952] - [31merror[39m: [build] Encountered error during build step
TypeError: Property consequent of ConditionalExpression expected node to be of a type ["Expression"] but instead got null
at Object.validate (/home/forum/nodebb/node_modules/babel-types/lib/definitions/index.js:109:13)
at validate (/home/forum/nodebb/node_modules/babel-types/lib/index.js:505:9)
at Object.builder (/home/forum/nodebb/node_modules/babel-types/lib/index.js:466:7)
at Object.OpenIf (/home/forum/nodebb/node_modules/benchpressjs/build/lib/compiler/compiler.js:105:14)
at compile (/home/forum/nodebb/node_modules/benchpressjs/build/lib/compiler/compiler.js:146:49)
at Object.OpenIter (/home/forum/nodebb/node_modules/benchpressjs/build/lib/compiler/compiler.js:118:246)
at compile (/home/forum/nodebb/node_modules/benchpressjs/build/lib/compiler/compiler.js:146:49)
at compiler (/home/forum/nodebb/node_modules/benchpressjs/build/lib/compiler/compiler.js:160:20)
at compileFallback (/home/forum/nodebb/node_modules/benchpressjs/build/lib/precompile.js:32:17)
at Promise.try (/home/forum/nodebb/node_modules/benchpressjs/build/lib/precompile.js:93:88)
2019-02-13T13:28:25.921Z [/sockets/nodebb.sock/13952] - [32minfo[39m: [build] admin control panel styles build completed in 11.863sec
I have node v. 11.9 installed on Ubuntu 18.04, in case that helps.