#'tauri' is not recognized as an internal or external command, operable program or batch file.

55 messages · Page 1 of 1 (latest)

open marlin
#

My problem is that tauri isn't recognized when I try to run or build the app on windows but it worked perfectly fine on linux.

open marlin
acoustic sequoia
#

did you forgot to do npm install in the prject?

open marlin
#

uuumm i didn't

#

I re-installed the node modules but now I'm getting this: error: failed to select a version for the requirement once_cell = "^1"

acoustic sequoia
#

thats probably some module

open marlin
#

is it missing ?

acoustic sequoia
#

maybe its 1.0

#

or something

open marlin
acoustic sequoia
#

try bigger then 1.0.1

acoustic sequoia
tacit mango
#

Give us the output of tauri info

open marlin
# tacit mango Give us the output of `tauri info`

no info has been given because is not recognized
and I got this
tauri : The term 'tauri' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • tauri info
  •   + CategoryInfo          : ObjectNotFound: (tauri:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
tacit mango
#

NPM: @tauri-apps/cli

open marlin
tacit mango
open marlin
#

{
"name": "base-64-encode-decode",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"tauri": "tauri"
},
"devDependencies": {
"@tauri-apps/cli": "^1.4.0"
},
"dependencies": {
"once_cell": "^1.0.1"
}
}

tacit mango
#

(Or with pnpm pnpm tauri info)

open marlin
# tacit mango And you run the Tauri CLI using `npm run tauri -- info`?

Yep I got some info
[✔] Environment
- OS: Windows 10.0.19044 X64
✔ WebView2: 114.0.1823.58
✔ MSVC: Visual Studio Community 2019
✔ rustc: 1.59.0 (9d1b2106e 2022-02-23)
✔ Cargo: 1.59.0 (49d8809dc 2022-02-10)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 19.8.1
- pnpm: 7.5.0
- npm: 9.5.1

tacit mango
open marlin
acoustic sequoia
open marlin
tacit mango
#

The API is only needed if it's in the code you're getting the issue, like, in the devtools for example , it's not necessary for just running a Tauri app

open marlin
#

it worked now! thx all!

open marlin
tacit mango
open marlin
#

PS C:\Users...\OneDrive\Desktop\code stuff\tauri_Apps> npm i

up to date, audited 72 packages in 2s

run npm fund for details

4 vulnerabilities (3 moderate, 1 high)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
PS C:\Users\40754\OneDrive\Desktop\code stuff\tauri_Apps> npm run tauri dev
npm ERR! Missing script: "tauri"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users...\AppData\Local\npm-cache_logs\2023-06-28T19_53_14_750Z-debug-0.log
PS C:\Users...\OneDrive\Desktop\code stuff\tauri_Apps> npm install

up to date, audited 72 packages in 3s

16 packages are looking for funding
run npm fund for details

4 vulnerabilities (3 moderate, 1 high)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
PS C:\Users...\OneDrive\Desktop\code stuff\tauri_Apps> npm run tauri dev
npm ERR! Missing script: "tauri"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users...\AppData\Local\npm-cache_logs\2023-06-28T19_58_13_843Z-debug-0.log

tacit mango
open marlin
#

but it seems very odd

tacit mango
# open marlin npm create tauri-app@latest

Assuming this is what you did then it certainly seems like your system is a bit broken
Either that or you're using some weird shell. Lots of people use Git Bash for example and it can cause all kinds of issues. Try running it in cmd.exe instead

open marlin
#

Uuumm okk

open marlin
tacit mango
#

I usually recommend just going with ye old good and faithful cmd.exe for all your developer needs

open marlin
tacit mango
#

Powershell and I never got along. It supposedly offers some cool stuff - that you never ever actually end up using

#

Try just configuring VSCode to use cmd.exe instead

#

It should be your powershell that's a bit messed up

#

Which miiiiight be fixable by just rebooting or installing a newer version of powershell

open marlin
#

oohh

open marlin
tacit mango
# open marlin does the web view thing supports unicode chars ?

Yes the web view thing supports unicode chars. Not 100% sure if all of them support the entire unicode table, but at the very least they all support some subset of it. Check what Safari, Chrome and Epiphany support if you want a better idea of what your Tauri apps will support

open marlin
tacit mango
open marlin
#

oh, ik
I can use icons from google fonts instead