#IO error on create tauri-app , with npm and with yarn

6 messages · Page 1 of 1 (latest)

tender quail
#

I try to get started using tauri, and installed all the prerequisits and checked the versions and so on, but in git-bash when i try yarn create tauri-app or npm create tauri-app@latest i get this IO error.
I am new at this so i dont have any knowledge to work my way around it or to troubleshoot it.

In yarn it does fetch packages and says success installed app with binaries, but then it gives error:
xxx/GIT/git-tauri-test-1 (master)
$ yarn create tauri-app
yarn create v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-tauri-app@4.5.7" with binaries:
- create-tauri-app
? Project name (tauri-app) › error: IO error: Incorrect function. (os error 1): Incorrect function. (os error 1)
error Command failed.
Exit code: 1
xxx\AppData\Local\Yarn\bin\create-tauri-app
Arguments:
xxx\GIT\git-tauri-test-1
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

signal moss
#

I believe you could try using Powershell on Windows, or Bash on Linux/macOS to see if it still doesn't work?

tender quail
#

ty! it worked 🙂 i know now what the issue was

signal moss
#

Great!
Happy to help 🙂

#

Actually, what was it? It could be helpful for others

tender quail
#

my user is not administrator. i have a seperate admin account for installations etc. i did have to add the git bash path as environment path to the cmd before it worked, else it wouldnt load git bash