Coder Social home page Coder Social logo

Comments (11)

donqq avatar donqq commented on June 14, 2024

I searched and navigated to the setting, then it shows this message
"Not Found
You seem to have stumbled upon a page that does not exist. Return to the home page."

from nodebb-plugin-ns-awards.

NicolasSiver avatar NicolasSiver commented on June 14, 2024

Hello,

Are you checking on 1.12.0? It could be related to compatibility issues.
When you start NodeBB, do you see any warnings related to Awards plugin?

from nodebb-plugin-ns-awards.

donqq avatar donqq commented on June 14, 2024

yeah on the latest version. I just don't see it in the admin panel. I don't see any warnings or errors apart from the one I posted above.

from nodebb-plugin-ns-awards.

donqq avatar donqq commented on June 14, 2024

is there a solution for this problem?

from nodebb-plugin-ns-awards.

donqq avatar donqq commented on June 14, 2024

while checking the log file I saw this.

2019-04-14T20:28:57.017Z [4567/19223] - �[33mwarn�[39m: [deprecated] requiring core modules with module.parent.require('./src/emitter') is deprecated. Please use require.main.require("./src/<module_name>") instead.
at /home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31


2019-04-14T20:28:57.020Z [4567/19223] - �[31merror�[39m: Error: Cannot find module './src/emitter'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Module.require.main.require (/home/user/nodebb/require-main.js:8:10)
at /home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31
at Object. (/home/user/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:42:3)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)


2019-04-14T20:28:57.022Z [4567/19223] - �[33mwarn�[39m: [plugins] Unable to parse library for: nodebb-plugin-ns-awards

Edit: As the information for people who have the same issue, issue is not fixed, but author closed the issue.

from nodebb-plugin-ns-awards.

Songkeys avatar Songkeys commented on June 14, 2024

I have the same issue. I'm on nodebb 1.13.1. why is this closed?

2019-12-30T08:31:14.043Z [4567/385] - ^[[33mwarn^[[39m: [deprecated] requiring core modules with `module.parent.require('./src/emitter'
Require stack:
- /root/nodebb/require-main.js
- /root/nodebb/app.js)` is deprecated. Please use `require.main.require("./src/<module_name>")` instead.
    at /root/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31
2019-12-30T08:31:14.043Z [4567/385] - ^[[33mwarn^[[39m: [plugins] Unable to parse library for: nodebb-plugin-ns-awards
2019-12-30T08:31:14.043Z [4567/385] - ^[[31merror^[[39m: Error: Cannot find module './src/emitter'
Require stack:
- /root/nodebb/require-main.js
- /root/nodebb/app.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:17)
    at Function.Module._load (internal/modules/cjs/loader.js:859:27)
    at Module.require (internal/modules/cjs/loader.js:1028:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Module.require.main.require (/root/nodebb/require-main.js:8:10)
    at /root/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:7:31
    at Object.<anonymous> (/root/nodebb/node_modules/nodebb-plugin-ns-awards/plugin/nodebb.js:42:3)
    at Module._compile (internal/modules/cjs/loader.js:1139:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1159:10)
    at Module.load (internal/modules/cjs/loader.js:988:32)

from nodebb-plugin-ns-awards.

Songkeys avatar Songkeys commented on June 14, 2024

This might be helpful:

NicolasSiver/nodebb-plugin-ns-embed#13

from nodebb-plugin-ns-awards.

oplik0 avatar oplik0 commented on June 14, 2024

Are you sure you're using the latest version of the plugin? Can you check how does your plugin/nodebb.js look like?
Because that issue was resolved here as well:
3953ea5

If there is a mention of emitter somewhere then for some reason you got an older version that tries to import a module that was removed from NodeBB core

from nodebb-plugin-ns-awards.

Songkeys avatar Songkeys commented on June 14, 2024

Thanks. I've re-checked my version. It's ^4.0.0.

I installed it from the Admin Panel. The latest there is 4.0.0. But it's a older version obviously...

Why hasn't it been updated?

from nodebb-plugin-ns-awards.

oplik0 avatar oplik0 commented on June 14, 2024

It has been, actually.
But nbbpm compatibility is wrong:

"compatibility": "~1.12.0"

New version are only shown as compatible with NodeBB 1.12.x (~1.12.0 means >=1.12.0 and <1.13.0)

Just install it with npm install nodebb-plugin-ns-awards to fix the problem

from nodebb-plugin-ns-awards.

Songkeys avatar Songkeys commented on June 14, 2024

Thanks. @oplik0 . Maybe it's indeed imcapatible with nodebb >=1.13.0. Now I upgrade it to 5.2.0, and I got some 502 error for some requests:

image

I'll open another issue if neccessary.

from nodebb-plugin-ns-awards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.