I'm using nodebb 1.4.2.
When I type ./nodebb build
, it have the following output:
3/2 15:47:59 [6125] - info: [build] Building javascript
3/2 15:47:59 [6125] - info: [build] js => Completed in 0.012s
3/2 15:47:59 [6125] - info: [build] Building client-side CSS
3/2 15:48:01 [6125] - info: [build] clientCSS => Completed in 1.901s
3/2 15:48:01 [6125] - info: [build] Building admin control panel CSS
3/2 15:48:03 [6125] - info: [build] acpCSS => Completed in 1.879s
3/2 15:48:03 [6125] - info: [build] Building templates
3/2 15:48:03 [6125] - info: [build] tpl => Completed in 0.107s
3/2 15:48:03 [6125] - info: [build] Building language files
3/2 15:48:05 [6125] - info: [build] lang => Completed in 1.631s
3/2 15:48:05 [6125] - info: [build] Asset compilation successful. Completed in 6.151s.
When I deleted public/nodebb.min.js
, and retype ./nodebb build
, I have the following output:
./nodebb build
3/2 15:49:22 [6212] - info: [build] Building javascript
3/2 15:49:22 [6212] - info: [build] js => Completed in 0.007s
3/2 15:49:22 [6212] - info: [build] Building client-side CSS
3/2 15:49:24 [6212] - info: [build] clientCSS => Completed in 1.884s
3/2 15:49:24 [6212] - info: [build] Building admin control panel CSS
3/2 15:49:25 [6212] - info: [build] acpCSS => Completed in 1.403s
3/2 15:49:25 [6212] - info: [build] Building templates
3/2 15:49:26 [6212] - info: [build] tpl => Completed in 0.089s
3/2 15:49:26 [6212] - info: [build] Building language files
3/2 15:49:27 [6212] - info: [build] lang => Completed in 1.633s
3/2 15:49:27 [6212] - info: [build] Asset compilation successful. Completed in 5.645s.
But nodebb.min.js not generated.
If I run ./nodebb dev
, it shows:
3/2 15:49:43 [6264] - warn: [meta/js] /home/jiangcaiyang/WebProject/QtDream/public/nodebb.min.js not found on disk, did you run ./nodebb build?
Maybe ./nodebb build
is useless and cannot generate nodebb.min.js.
How to generate nodebb.min.js, so the code could be updated?