I checked out v1.16.2 of the forum and was running node version 15.12 when I encountered the same error.
I downgraded to node version 14.6.0 and now this error is not coming up.
I hope this info can help anyone.
@charles try
npm i grunt grunt-contrib-watch
that seem to fix it! thanks!
i'm guess run npm i grunt grunt-contrib-watch
instead of npm install -g grunt-cli
going forward
@charles nah grunt-cli
is also required
@pichalite good to know. hope the doc get updated with that so others don't run into same error.
should i be concerned with any of these messages after running npm i grunt grunt-contrib-watch
@charles don't think so
@pichalite ok I do see it "watching" but if I open another screen and make edit to any of the files it doesn't automatically restart so I can see the changes.
edit: I had to stop and then reload since I added a new folder. It seems to be picking up changes now.
Thanks!
@charles said:
@pichalite good to know. hope the doc get updated with that so others don't run into same error.
You can submit pull requests to the documentation if they're out of date.
@a_5mith said:
You can submit pull requests to the documentation if they're out of date.
what does that mean? can someone explain or point me in right direction?
NodeBB Documentation can be updated here.
https://github.com/NodeBB/nodebb-english/pulls
@nhl.pl I visited the link but I don't know what you mean.
It means NodeBB Documentation is community driven. You can submit your own fixes and updates. After reviewing by NodeBB Team it'll become a part of official Docs.
@nhl.pl thank you for taking time to explain. since the link doesn't show much, where can I find more details on how to submit fixes and updates?
You have to fork this repo to be able to edit its content.
Next you're going to browse to an interesting topic, i.e.
https://github.com/NodeBB/nodebb-english/blob/master/installing/cloud/openshift.rst
Use Edit icon near to History label or edit it following any GitHub contributing guide.