@julian said in Cannot find module '../wireprotocol/2_6_support':
npm i --production
I tried with npm i --production, but not works
@julian said in Cannot find module '../wireprotocol/2_6_support':
npm i --production
I tried with npm i --production, but not works
Hey guys, today i started my local nodebb server and found this issue. Hope your support on this
2019-06-08T21:43:56.285Z [4567/2788] - error: uncaughtException: Cannot find module '../wireprotocol/2_6_support'
Error: Cannot find module '../wireprotocol/2_6_support'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\Users\Mael\Documents\MEGA\MEGAsync\Pronostics\Almacen de archivos\Proyectos NodeBB\Pronostics\nodebb\NodeBB\node_modules\mongodb\node_modules\mongodb-core\lib\topologies\server.js:14:31)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3) {"error":{"code":"MODULE_NOT_FOUND"},"stack":"Error: Cannot findmodule '../wireprotocol/2_6_support'\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)\n at Function.Module._load (internal/modules/cjs/loader.js:506:25)\n at Module.require (internal/modules/cjs/loader.js:636:17)\n at require (internal/modules/cjs/helpers.js:20:18)\n at Object.<anonymous> (C:\\Users\\Mael\\Documents\\MEGA\\MEGAsync\\UniversidadAOM\\Almacen de archivos\\Proyectos NodeBB\\UniversidadAOM\\nodebb\\NodeBB\\node_modules\\mongodb\\node_modules\\mongodb-core\\lib\\topologies\\server.js:14:31)\n at Module._compile (internal/modules/cjs/loader.js:688:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)\n at Module.load (internal/modules/cjs/loader.js:598:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:537:12)\n at Function.Module._load (internal/modules/cjs/loader.js:529:3)","exception":true,"date":"Sat Jun 08 2019 16:43:56 GMT-0500 (GMT-05:00)","process":{"pid":2788,"uid":null,"gid":null,"cwd":"C:\\Users\\Mael\\Documents\\MEGA\\MEGAsync\\UniversidadAOM\\Almacen de archivos\\Proyectos NodeBB\\UniversidadAOM\\nodebb\\NodeBB","execPath":"C:\\Program Files\\nodejs\\node.exe","version":"v10.14.1","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\Mael\\Documents\\MEGA\\MEGAsync\\UniversidadAOM\\Almacen de archivos\\Proyectos NodeBB\\UniversidadAOM\\nodebb\\NodeBB\\app.js"],"memoryUsage":{"rss":47046656,"heapTotal":34406400,"heapUsed":19705312,"external":18345809}},"os":{"loadavg":[0,0,0],"uptime":1283602},"trace":[{"column":15,"file":"internal/modules/cjs/loader.js","function":"Module._resolveFilename","line":580,"method":"_resolveFilename","native":false},{"column":25,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":506,"method":"_load","native":false},{"column":17,"file":"internal/modules/cjs/loader.js","function":"Module.require","line":636,"method":"require","native":false},{"column":18,"file":"internal/modules/cjs/helpers.js","function":"require","line":20,"method":null,"native":false},{"column":31,"file":"C:\\Users\\Mael\\Documents\\MEGA\\MEGAsync\\UniversidadAOM\\Almacen de archivos\\Proyectos NodeBB\\UniversidadAOM\\nodebb\\NodeBB\\node_modules\\mongodb\\node_modules\\mongodb-core\\lib\\topologies\\server.js","function":null,"line":14,"method":null,"native":false},{"column":30,"file":"internal/modules/cjs/loader.js","function":"Module._compile","line":688,"method":"_compile","native":false},{"column":10,"file":"internal/modules/cjs/loader.js","function":"Module._extensions..js","line":699,"method":".js","native":false},{"column":32,"file":"internal/modules/cjs/loader.js","function":"Module.load","line":598,"method":"load","native":false},{"column":12,"file":"internal/modules/cjs/loader.js","function":"tryModuleLoad","line":537,"method":null,"native":false},{"column":3,"file":"internal/modules/cjs/loader.js","function":"Module._load","line":529,"method":"_load","native":false}]}
days ago i made a backup with mega tho i don´t know if it did cause the issue. Also i tried to build, reset, restart options with console but i still getting the same issue
Yo guys, i would want to create a plugin to upload especific file extensions at home page with a form, tho this form will have several inputs to upload the file, thumbnails but i also want to place a textarea with formatting text like the nodebb default composer. So you guys know if is it possible to create a new instance independent of the form for new topics using default composer? or i need to develep a new entire one for this purpose? Please guide me in the right way
Hey guys? im newbie on node so i want to make a custom file uploader button to upload for example ".pdf" extensions at the main page not into replies/topics. you guys know if there are any guide o plugin than i take as guide?, second question is if i able to do this just with the nodebb core or its not possible and i need to use dependencies? Thanks in advance
Anyone knows if is possible to hide the categories in main page and have a chat like discord (in main page) where you can message with others, create rooms, view online users etc. I would like to have something like that but also create topics in the same interface. so that chat can show when a user create a new topic ;). At least know if its possible to do into the hooks . Thanks in advance
yep im using the ip to access, i have a domain already but im using it for the original site (testing to move the site to nodeBB )
My fault, many thanks tho it still having the same issue unfortunately
Hey guys, im new on NodeBB. Its seems i installed sucessfully, tho i can´t login with admins credentials. Also i created a new account , i could access without any issues but when i logged out and try again, i could not login too. Hope any help
I read many topics about change the config file, so here is my info (On digital ocean, i don´t have a domain yet):
config.json:
{
"url": "http://206.189.204.4",
"secret": "..................",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "4567",
"password": "?????",
"database": "???"
}
nginx configuration:
server {
listen 80;
server_name 206.189.204.4;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:4567;
proxy_redirect off;
# Socket.IO Support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
./nodebb log: