TypeError: params.hasOwnProperty is not a function, error
-
@pichalite mhm strange, because I had to install
nodebb-plugin-youtube-lite
from scratch (with the GitHub repo) even after updating nodebb ^^So the
./nodebb upgrade
looks into node_modules or in thepackage.json
?Also it update versions in the
package.json
too? -
@Giggiux nothing strange here... as I said in my previous post, NodeBB only prompts plugin upgrades if there is a compatible version.
Looking at
nodebb-plugin-youtube-lite
it's not set to be compatible with NodeBB v1.x.xnodebb-plugin-youtube-lite/package.json at master ยท a5mith/nodebb-plugin-youtube-lite
Lazyloads Youtube Videos on your NodeBB Forum. Contribute to a5mith/nodebb-plugin-youtube-lite development by creating an account on GitHub.
GitHub (github.com)
-
@torn2 said in TypeError: params.hasOwnProperty is not a function, error:
Is 4.2.9 the latest one?
no it's not but that's the latest that can work with NodeBB v1.x.x
@torn2 said in TypeError: params.hasOwnProperty is not a function, error:
Ever since we upgraded to 1.2.1, now 1.2.2
There is no 1.2.2 by the way... you are using a weekly snapshot of master. Not recommended for production unless you are okay dealing with bugs.
-
@torn2 that's because your package.json has 4.2.7 for composer. Run
npm i [email protected]
to install v4.2.9 -
@pichalite I get this?
[email protected] /root/nodebb
โโโ [email protected] invalid -
@torn2 corrected plugin name....
npm i [email protected]
works for me -
@pichalite Yea, I entered it with default at the end when I noticed it would not work. When I entered it correctly that one gave an error. It says invalid when I enter it with the correct name. Does it have to be 4.2.11 instead? When I do npm outdated it says the new version is 4.2.11?
-
guys, still getting this error :S
Oct 22 21:03:33 nodebb[11163]: 22/10 21:03 [24687] - error: TypeError: params.hasOwnProperty is not a function Oct 22 21:03:33 nodebb[11163]: at _checkSignatureUsingProvider (/var/nodebb/node_modules/openid/openid.js:1148:15) Oct 22 21:03:33 nodebb[11163]: at _checkSignature (/var/nodebb/node_modules/openid/openid.js:1083:5) Oct 22 21:03:33 nodebb[11163]: at _verifyAssertionAgainstProviders (/var/nodebb/node_modules/openid/openid.js:1047:12) Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:1012:7 Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:545:7 Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:411:16 Oct 22 21:03:33 nodebb[11163]: at Request._callback (/var/nodebb/node_modules/openid/openid.js:174:7) Oct 22 21:03:33 nodebb[11163]: at Request.self.callback (/var/nodebb/node_modules/request/request.js:187:22) Oct 22 21:03:33 nodebb[11163]: at emitTwo (events.js:106:13) Oct 22 21:03:33 nodebb[11163]: at Request.emit (events.js:191:7) Oct 22 21:03:33 nodebb[11163]: at Request.<anonymous> (/var/nodebb/node_modules/request/request.js:1048:10) Oct 22 21:03:33 nodebb[11163]: at emitOne (events.js:96:13) Oct 22 21:03:33 nodebb[11163]: at Request.emit (events.js:188:7) Oct 22 21:03:33 nodebb[11163]: at IncomingMessage.<anonymous> (/var/nodebb/node_modules/request/request.js:969:12) Oct 22 21:03:33 nodebb[11163]: at emitNone (events.js:91:20) Oct 22 21:03:33 nodebb[11163]: at IncomingMessage.emit (events.js:185:7) Oct 22 21:03:33 nodebb[11163]: TypeError: params.hasOwnProperty is not a function Oct 22 21:03:33 nodebb[11163]: at _checkSignatureUsingProvider (/var/nodebb/node_modules/openid/openid.js:1148:15) Oct 22 21:03:33 nodebb[11163]: at _checkSignature (/var/nodebb/node_modules/openid/openid.js:1083:5) Oct 22 21:03:33 nodebb[11163]: at _verifyAssertionAgainstProviders (/var/nodebb/node_modules/openid/openid.js:1047:12) Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:1012:7 Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:545:7 Oct 22 21:03:33 nodebb[11163]: at /var/nodebb/node_modules/openid/openid.js:411:16 Oct 22 21:03:33 nodebb[11163]: at Request._callback (/var/nodebb/node_modules/openid/openid.js:174:7) Oct 22 21:03:33 nodebb[11163]: at Request.self.callback (/var/nodebb/node_modules/request/request.js:187:22) Oct 22 21:03:33 nodebb[11163]: at emitTwo (events.js:106:13) Oct 22 21:03:33 nodebb[11163]: at Request.emit (events.js:191:7) Oct 22 21:03:33 nodebb[11163]: at Request.<anonymous> (/var/nodebb/node_modules/request/request.js:1048:10) Oct 22 21:03:33 nodebb[11163]: at emitOne (events.js:96:13) Oct 22 21:03:33 nodebb[11163]: at Request.emit (events.js:188:7) Oct 22 21:03:33 nodebb[11163]: at IncomingMessage.<anonymous> (/var/nodebb/node_modules/request/request.js:969:12) Oct 22 21:03:33 nodebb[11163]: at emitNone (events.js:91:20) Oct 22 21:03:33 nodebb[11163]: at IncomingMessage.emit (events.js:185:7)
Is that because I have
[email protected] /var/nodebb โโโ [email protected]
version 4.2.11 instead of 4.2.9?
-
these are all my plugins i think:
[email protected] extraneous [email protected] extraneous [email protected] [email protected] [email protected] extraneous [email protected] extraneous (git://github.com/MegaGM/nodebb-plugin-emailer-yandex.git#ea42e1a2388f3872594db1e475bc0f0170e746dd) [email protected] [email protected] [email protected] extraneous [email protected] extraneous [email protected] [email protected] [email protected] extraneous [email protected] [email protected] [email protected] extraneous [email protected] extraneous [email protected] extraneous [email protected] extraneous [email protected] extraneous [email protected] extraneous (git+https://github.com/a5mith/nodebb-plugin-youtube-lite.git#82a22fc6f1a7e158376fa5d9b1f8c4e67a57a177)
-
โโโฌ [email protected] โ โโโฌ [email protected] โ โโโฌ [email protected] โ โโโ [email protected]
But I don't think anyone connected with steam his account