[nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed
-
New version. Update to
nodebb-plugin-calendar@1.0.0-alpha.2
:npm install nodebb-plugin-calendar@latest
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
nodebb-plugin-calendar@1.0.0-alpha.2
I don't have any admin section for this modules: ( This picture )
and :
I'm using lavender Theme
-
I'm using NodeBB v1.1.0.
-
@sanatisharif you have to click "edit" next to the category. Then select which groups get the "Post Events" privilege.
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@sanatisharif you have to click "edit" next to the category. Then select which groups get the "Post Events" privilege.
I don't have such privilege, this is my privilege setting page :
-
@sanatisharif have you restarted NodeBB?
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@sanatisharif have you restarted NodeBB?
yse I do it multiple time.
./nodebb restart
I am using the pm2,I do not know it is important or not!pm2.json5:
{ apps : [ { name: "MyForumApp", script: "nodebb", args: "start" } ] }
Command:
pm2 start pm2.json5
-
@sanatisharif if you tried restarting from inside the ACP, it won't work if you're using PM2. You need to restart the process with PM2. Try just starting up in dev mode with
./nodebb dev
and see if there are any issues. -
I have this error in
dev
mod:20/7 20:13 [27069] - error: SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/home/nodeBB/forum/node_modules/nodebb-plugin-calendar/build/lib/index.js:8:13) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/home/nodeBB/forum/node_modules/nodebb-plugin-calendar/library.js:1:80) at Module._compile (module.js:409:26)}
-
@sanatisharif ohhhh, yeah. So, at the moment, this plugin requires to be running on Node.js v6.
Upgrade your version of Node.js (you can use nvm or n to install newer versions, both can be installed with npm) or I'll set up a transpilation for the backend code tonight.
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
Node.js v6
Thanks, I'm trying to update node.
Everything broke down -
contextify.target.mk:94: recipe for target 'Release/obj.target/contextify/src/contextify.o' failed make: *** [Release/obj.target/contextify/src/contextify.o] Error 1 make: Leaving directory '/home/nodeBB/forum/node_modules/contextify/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Linux 3.16.0-4-amd64 gyp ERR! command "/usr/local/n/versions/node/6.2.2/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodeBB/forum/node_modules/contextify gyp ERR! node -v v6.2.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN install:contextify@0.1.15 contextify@0.1.15 install: `node-gyp rebuild` npm WARN install:contextify@0.1.15 Exit status 1
-
@sanatisharif try
npm rebuild
in the NodeBB directory -
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@sanatisharif try
npm rebuild
in the NodeBB directorybufferutil.target.mk:95: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1 make: Leaving directory '/home/nodeBB/forum/node_modules/bufferutil/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Linux 3.16.0-4-amd64 gyp ERR! command "/usr/local/n/versions/node/6.2.2/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodeBB/forum/node_modules/bufferutil gyp ERR! node -v v6.2.2 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Linux 3.16.0-4-amd64 npm ERR! argv "/usr/local/n/versions/node/6.2.2/bin/node" "/usr/local/bin/npm" "rebuild" npm ERR! node v6.2.2 npm ERR! npm v3.10.5 npm ERR! code ELIFECYCLE npm ERR! bufferutil@1.2.1 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bufferutil@1.2.1 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the bufferutil package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs bufferutil npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls bufferutil npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/nodeBB/forum/npm-debug.log
-
@sanatisharif try
npm update
thennpm rebuild
again -
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
@sanatisharif try
npm update
thennpm rebuild
againDoes not work, I've Downgrade node to version 4.4.7 and worked to ninety.
Can you please compatible calendar with node 4.4.7 ? -
New version. Update to
nodebb-plugin-calendar@1.0.0-alpha.3
npm install nodebb-plugin-calendar@latest
Supports Node v4+
-
@PitaJ said in [nodebb-plugin-calendar] Fully featured calendar plugin for NodeBB - Testers needed:
npm
Thanks,
I've installed it, on categories privilege page selection, I can choose only the group "Global Moderator". The image below:ACP -> Plugin -> Calendar Page :
"Plugin calendar stuff admin"
-
@sanatisharif yeah the ACP plugin page isn't finished. That other issue isn't caused by me, I think. Looks like your database stuff is messed up or something. You should be able to at least configure the permissions for event posting on registered users and guests and the permissions screen.