I am a moron.
I forgot the /api/v3 in the API url.
I do not have the theme nodebb-theme-rocket-master.
On the forum, I read that there is a Benchpress tool.
Can I use Benchpress to view the .tpl files from the theme
Is there a quick start for
Benchpress? Can someone advise how to get started and what to see with Benchpress?
Benchpress is the template engine for NodeBB. It powers how templates are parsed and rendered.
There is an introduction on the GitHub page for the project: https://github.com/benchpressjs/benchpressjs
And there is complete documentation here: https://github.com/benchpressjs/benchpressjs/blob/master/docs/readme.md
I'm new to these technologies. Please write how you can use Benchpress. Make
Please give us a brief overview. Is there a way to see the topic nodebb-theme-rocket-master with Benchpress and understand why it does not work now? Can I use Benchpress for analysis, debugging, and modification
How to do it?
[email protected] pretest C:\woprk\atb\node_modules\benchpressjs
grunt babel && eslint --cache .
Running "babel:dist" (babel) task
Oops! Something went wrong!
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:
ESLint looked for configuration files in C:\woprk\atb\node_modules\benchpressjs\build and its ancestors. If it found none, it then looked in your home directory.
If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://gitter.im/eslint/eslint
npm ERR! Test failed. See above for more details.
How to fix this error?
@rahmon what are you trying to do? I think you have a serious misunderstanding of what benchpress is for and how it works.
I'm trying to execute 3 commands:
@rahmon ok, but are you trying to use benchpress in your application? Are you trying to develop benchpress? Are you trying to install benchpress in NodeBB?
What are you trying to do with benchpress? Why are you installing it?
If you are trying to load up the benchpress project and run the benchpress tests, you should clone the benchpress repository. An npm install doesn't include the same files.
But there's no reason to do that unless you want to work on benchpress itself to improve the template engine in some way.
I have a theme nodebb-theme-rocket-master
She does not work
Write me please what algorithm of error search.
How would you look for errors and what tools did you use?
@Rahmon Benchpress isn't a debugging tool, it is the template rendering engine NodeBB uses.
If your theme does not work, rest assured, it is not a problem with Benchpress.