#Can't get "yarn create tauri-app" to work on OpenSUSE Tumbleweed.

10 messages · Page 1 of 1 (latest)

knotty panther
#

System: OpenSUSE Tumbleweed
Node version: v20.8.1

Running yarn create tauri-app prompts with:

? Package name (usrbinnode20) › usrbinnode20

and no matter if i just keep it on default (usrbinnode20) or change it to something else (i tried node, nodejs, node20), it always results in the following:

> yarn create tauri-app
yarn create v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
      - create-tauri-app
✔ Package name · usrbinnode20
error: Not a directory (os error 20)
error Command failed.
Exit code: 1
Command: /home/user/.yarn/bin/create-tauri-app
Arguments: 
Directory: /home/user/
Output:

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

So what should I put there? I'm confused.

P.S. Running yarn create react-app works just fine.
P.P.S.This looks like it's an issue exclusive to OpenSUSE Tumbleweed because I didn't have any problems running it on Fedora 38.

sharp current
#

Why are you naming your tauri app usrbinnode20? Which folder are you in when you run the command?

knotty panther
sharp current
#

The package name is the app name

#

Create a develop or projects or whatever folder in your home and run the command in there

knotty panther
#

I mean on fedora it asks me for project name and doesn't set a default value of usrbinnode20.

#

"? Project name (tauri-app) › " here on fedora

knotty panther
sharp current
#

Is your user named the same on fedora?

knotty panther
#

No, it's different.