[GH-ISSUE #1734] [Bug] TS import errors launching tauri dev #666

Closed
opened 2026-03-23 20:39:24 +00:00 by mirror · 0 comments
Owner

Originally created by @inigoiparragirre on GitHub (Jan 22, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1734

Bug Description

I'm trying to run Tauri dev desktop application on Linux. I run the following command in terminal after previous Tauri setup as indicated in docs:
cargo make tauri_dev
I attach a picture of the result in terminal:

run-tauri-dev-ts-import-error

How to Reproduce

Follow the steps mentioned:
https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/tauri-setup

Expected Behavior

I guess the generated typescript folders are not in the correct path. Please see the picture above:
protobuf-gen-ts-files

Operating System

Linux Ubuntu 22.10

AppFlowy Version(s)

0.0.9.1 main branch

Screenshots

No response

Additional Context

A deeper look to generate_ts_protobuf_files function could help to fix correct paths, I guess.

Originally created by @inigoiparragirre on GitHub (Jan 22, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1734 ### Bug Description I'm trying to run Tauri dev desktop application on Linux. I run the following command in terminal after previous Tauri setup as indicated in docs: `cargo make tauri_dev ` I attach a picture of the result in terminal: ![run-tauri-dev-ts-import-error](https://user-images.githubusercontent.com/4726310/213907721-781c7ee3-86fb-4d77-82ab-34b62aecacdd.png) ### How to Reproduce Follow the steps mentioned: [https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/tauri-setup](URL) ### Expected Behavior I guess the generated typescript folders are not in the correct path. Please see the picture above: ![protobuf-gen-ts-files](https://user-images.githubusercontent.com/4726310/213907786-16f2c60d-93ed-47c0-b304-97b1c79a804f.png) ### Operating System Linux Ubuntu 22.10 ### AppFlowy Version(s) 0.0.9.1 main branch ### Screenshots _No response_ ### Additional Context A deeper look to **generate_ts_protobuf_files** function could help to fix correct paths, I guess.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#666
No description provided.