Errors on Update to 1.7.1
-
Two different sites, both got this error and can't start:
create mode 100644 src/prestart.js create mode 100644 src/upgrades/1.7.1/notification-settings.js create mode 100644 src/views/emails/notification.tpl create mode 100644 test/emailer.js /opt/kae-1.0/src/cli/index.js:39 .description('Welcome to NodeBB') ^ TypeError: program.name(...).description is not a function at Object.<anonymous> (/opt/kae-1.0/src/cli/index.js:39:3) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/opt/kae-1.0/nodebb:5:1) at Module._compile (module.js:570:32) /opt/kae-1.0/src/cli/index.js:39 .description('Welcome to NodeBB') ^ TypeError: program.name(...).description is not a function at Object.<anonymous> (/opt/kae-1.0/src/cli/index.js:39:3) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/opt/kae-1.0/nodebb:5:1) at Module._compile (module.js:570:32) npm WARN [email protected] requires a peer of eslint@^3.9.1 but none was installed. npm WARN [email protected] requires a peer of eslint@^3.9.1 but none was installed. npm WARN [email protected] requires a peer of eslint@^2.10.2 || 3.x but none was installed. npm WARN [email protected] requires a peer of eslint@^2.0.0 || ^3.0.0 but none was installed. /opt/kae-1.0/src/cli/index.js:39 .description('Welcome to NodeBB') ^ TypeError: program.name(...).description is not a function at Object.<anonymous> (/opt/kae-1.0/src/cli/index.js:39:3) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/opt/kae-1.0/nodebb:5:1) at Module._compile (module.js:570:32) /opt/kae-1.0/src/cli/index.js:39 .description('Welcome to NodeBB') ^ TypeError: program.name(...).description is not a function at Object.<anonymous> (/opt/kae-1.0/src/cli/index.js:39:3) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object.<anonymous> (/opt/kae-1.0/nodebb:5:1) at Module._compile (module.js:570:32)
-
@xlelou said in Errors on Update to 1.7.1:
which email did u use? I update to 1.7.1 too,but i'm new here
Email? I didn't use any email. what would email be for?
And welcome!
-
@julian said in Errors on Update to 1.7.1:
Looks like you got it fixed with the update to commander and eslint modules removal?
Yes, that works. Now we just have the broken emojis (that's been since like 1.6.0) and the newly broken quotes.
-
Have you reported the broken quotes? Have you tried using nodebb-plugin-emoji instead of the old nodebb-plugin-emoji-extended?
-
@pitaj said in Errors on Update to 1.7.1:
Have you reported the broken quotes? Have you tried using nodebb-plugin-emoji instead of the old nodebb-plugin-emoji-extended?
Have not reported the quotes.
Yes, have tried that plugin to no avail.
-
What were your issues? If you're having problems with nodebb-plugin-emoji v2 please report them on Github.
-
@pitaj said in Errors on Update to 1.7.1:
What were your issues? If you're having problems with nodebb-plugin-emoji v2 please report them on Github.
Same issues I've had for ~6 months. It does nothing.
-
It did that in the past, too. It didn't work for months, then some update it worked for a month or two, then just went away again. Over the last two years, it's almost never worked for us, but would sporadically work again.
-
I repeat: there is a new, rewritten from scratch version of nodebb-plugin-emoji which implements the features of emoji-extended. Please try using it.
-
@pitaj said in Errors on Update to 1.7.1:
I repeat: there is a new, rewritten from scratch version of nodebb-plugin-emoji which implements the features of emoji-extended. Please try using it.
Repeat this was tested today. Unless this was done in the last hour, this is the one we are talking about. It repeats the issues we had from the old version.
-
@pitaj said in Errors on Update to 1.7.1:
I repeat: there is a new, rewritten from scratch version of nodebb-plugin-emoji which implements the features of emoji-extended. Please try using it.
YOu can see that the v2 was discussed some time ago.
NodeBB 1.7.1 Update Issues
Errors going from NodeBB 1.7.0 to 1.7.1, opened a thread on NodeBB... https://community.nodebb.org/topic/11579/errors-on-update-to-1-7-1 create mode 100644 s...
MangoLassi (mangolassi.it)
-
Did you install nodebb-plugin-emoji-one v2? The old version doesn't work with nodebb-plugin-emoji.
-
@pitaj said in Errors on Update to 1.7.1:
Did you install nodebb-plugin-emoji-one v2? The old version doesn't work with nodebb-plugin-emoji.
This is getting silly. Obviously we are talking about the new ones.
Is there some secret "can't be found in the plugins system" link to totally different plugins actually called V2 somewhere? Because these are just the current releases of the existing emoji plugins that were constantly being updated, and remained broken, for most of the last year.
-
I don't know what kind of issues you're having. I don't know your setup. I don't visit Mongolassi, I listen and help with issues here. By default, a NodeBB upgrade will not upgrade the emoji-one pack to the new version. It will leave emoji-extended activated as to not break new installs.
That is why I asked. Do you want my help in fixing this or not?
-
@pitaj said in Errors on Update to 1.7.1:
I don't know what kind of issues you're having. I don't know your setup. I don't visit Mongolassi, I listen and help with issues here. By default, a NodeBB upgrade will not upgrade the emoji-one pack to the new version.
The upgrade process we use, the only one that we know works, does upgrade it to the latest version during the upgrade process. If we don't do that, things aren't compatible and it breaks. It's "always" been part of a basic upgrade AFAIK. I've been on NodeBB since 0.3, I think. We've never had an upgrade process that didn't keep all plugins at the latest.
I had already posted that this was the latest on GitHub as requested.
-
Sorry if I sounded gruff, I've been asked this same thing like four times as if I'm an idiot. I had just been assuming that emoji were not really being addressed and had been ignoring it. But people kept prodding me saying that the latest update was significant and it was expected to maybe work again.
I can't uninstall it because of the "undefined" problem that NodeBB appears to have without it (also on GitHub). Maybe that's the underlying issue, that NodeBB has a syntax error in the core install and some quotes or something are getting consumed from the emoji code that compete it but leave something broken in the emoji plugin as a result?