Default Installation 3.10.3, but many JS files return 404, why?
-
@baris said in Default Installation 3.10.3, but many JS files return 404, why?:
nodebb.min.js is generated when you run ./nodebb build in the nodebb folder. Try running it and see if you get any errors. Also make sure you access the forum with the same url used in config.json
As you suggested, I ran the
./nodebb build
, and indeed an error occurred.Could you please advise on how to resolve it?
-
-
@baris said in Default Installation 3.10.3, but many JS files return 404, why?:
I'm not familiar with that error, but you can try a few things.
Don't use root user to run nodebb commands, make sure the nodebb folder is owned by a nonprivileged user. Then run
npm install
with that user and try running./nodebb build
again.ah...I try it
-
@julian said in Default Installation 3.10.3, but many JS files return 404, why?:
@juse please run
npm install
again and try running./nodebb build
again.I'm currently reinstalling everything.
Since I installed
Node.js
,npm
, andyarn
using the root account,
I didn't log out of the root account when installing NodeBB,which resulted in NodeBB being installed in the root folder .
regular users cannot control the root folder
Now, I've deleted NodeBB and am reinstalling it using a regular user account.
-
@baris said in Default Installation 3.10.3, but many JS files return 404, why?:
You are still on the root account.
At first, I also thought it was a permission issue.
So, I deleted all the files and reinstalled them.
This time, I used the default www account.
The command I ran wassudo -u www command
.
But the problem still persists...and I use
npm install
again and./nodebb build
....the problem is still....