It looks like you are making GET calls to those endpoints. They do not accept the GET method.
Check the method in the documentation, likely it's one of POST or PUT.
Have you added any custom js files to your nodebb install?
The error you're getting means that your js files have an additional character that isn't needed. Possibly a comma at the end of a function or something like that.
It should only be in one file, you can try running
./nodebb dev, that might allow you to see a better idea of where the error in the code is.
Bumped into the same issue recently. Turns out, that Mac had created '.DS_Store ' file inside client's scripts folder and /meta/js.js is looping through all files upon launching the nodebb server. Including .DS_Store. And that causes [meta/js] Could not compile client-side scripts! Unexpected character.
Solution was: search for and remove all '.DS_Store' files everywhere from /public folder.