question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[docs] I just went through the quickstart and noticed a few issues

See original GitHub issue

I ended up having to start over because I followed the guide which led me astray.

I was following https://tauri.app/v1/guides/getting-started/setup/vite

I started with yarn create tauri-app

  • Create the Rust Project -> this was already done as part of yarn create tauri-app, so when I attempted to do this I got an error saying that the src-tauri directory was not empty and I did a force install as suggested. Instead all I really needed to do was edit tauri.conf.json and change the port (but I was not sure if other stuff would have been different, which is why I opted for force the first time)
    • In addition, the instructions to update src-tauri/tauri.conf.json do not honor yarn/npm/pnmp configuration
  • This command offered to add @tauri-apps/api for me (and I accepted), so I did not need to explicitly do this step called out in the docs

Also, on the Development Cycle page - this is called out:

In your project repository, you SHOULD commit the “src-tauri/Cargo.lock” along with the “src-tauri/Cargo.toml” to git because Cargo uses the lockfile to provide deterministic builds. As a result, it is recommended that all applications check in their Cargo.lock. You SHOULD NOT commit the “src-tauri/target” folder or any of its contents.

Ideally the cli would manage this by default for projects structured in the standard way - src-tauri/target should be added to .gitignore by default since the cli generated the file to start with.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lorenzolewiscommented, Jul 19, 2022

Reading through the create-tauri-app callout at the top I guess we don’t do a good job explaining that it’s an ALTERNATIVE to manually setting up tauri with the rest of the guide. So we can do some work to update the phrasing to highlight that.

0reactions
lorenzolewiscommented, Sep 10, 2022

Thanks for the feedback @paustint and @jayber, we’ve updated the phrasing in the annotation at the top of the pages:

Screenshot 2022-09-10 at 14 12 07

The content in the guides roughly line up with the output of create-tauri-app for a chosen framework so we added a line to recommend the reader to read through the rest of the guide to understand what create-tauri-app has done for them and to also understand the setup of the scaffolded project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Google Docs, Sheets, Slides & Forms error ...
If you get an error message such as "Something went wrong. Reload" or "Unable to load file" preventing you from making edits on...
Read more >
Check a crashed app for errors by using Error Reporting
Use Error Reporting to view the error and change the error status so other people on your team know that the issue is...
Read more >
Go quickstart | Google Sheets
In the Google Cloud console, go to Menu menu > APIs & Services > Credentials. Click Create Credentials > OAuth client ID. Click...
Read more >
QuickStart: Learn DAX Basics in 30 Minutes - Microsoft Support
It is meant to give you a quick and easy introduction on how you can use Data Analysis Expressions (DAX) to solve a...
Read more >
EFS-Web Guidance and Resources - USPTO
In just a few minutes and using a few web screens, you can submit a patent ... Quick Start Guide for EFS-Web Issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found