I discovered this was due to the theme slick, which seemed to be broken to me, as the form and input elements were missing multiple values, which didn't get loaded when save was clicked, so no information was sent. I made a child theme to fix it.
Cannot find module '../wireprotocol/2_6_support'
-
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
-
@mael Try deleting the
node_modules
directory and then running thenpm i --production
command again.Let us know if there are any errors while doing so