tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[docs] Rewrite mentions about Node.js

Open ghost opened this issue 1 year ago • 0 comments

When you:

  • format the hard drive with linux;
  • successfully install all the prerequisites for linux debian https://v2.tauri.app/start/prerequisites/#linux. (By the way, it could be written debian/ubuntu there in the documentation);
  • successfully install rust according to the instructions (https://v2.tauri.app/start/prerequisites/#rust);
  • install Bun as JavaScript runtime;
  • install tauri 2 RC3.

In this scenario, without Node.js installed in the machine, you are going to successfully build a project using bun run tauri build. The app runs correctly in the system.


  1. When running Tauri for the first time in the CLI, there appears a warning message, warning that a prerequisite is absent: Node.js. It was true (Node.js was not installed), however the warning did seem terminative, it implies that Tauri is not going to proceed without Node.js. Can you please rewrite it?

  2. In the following page https://v2.tauri.app/start/prerequisites/#nodejs, the "Node.js" section could be rewritten as "JavaScript runtime". Node.js may still be recommended inside this section, as one of the possibilities. Bun can be recommended too.

Thanks

ghost avatar Aug 17 '24 05:08 ghost