#Weird error

13 messages · Page 1 of 1 (latest)

empty flame
#

I get this error (see in pic) even tho i havent used any defaultProperties at all

tauri info

    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 123.0.2420.65
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Community 2022
    ✔ rustc: 1.77.0 (aedd173a2 2024-03-17)
    ✔ cargo: 1.77.0 (3fe68eabf 2024-02-29)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.10.0
    - npm: 10.2.5

[-] Packages
    - tauri [RUST]: 0.7.5
    - tauri-build [RUST]: no manifest (unknown lockfile)
    - wry [RUST]: no manifest (unknown lockfile)
    - tao [RUST]: no manifest (unknown lockfile)
    - @tauri-apps/api [NPM]: 1.5.3
    - @tauri-apps/cli [NPM]: 1.5.11

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist/karteikarten/browser
    - devPath: http://localhost:4200/
    - framework: Angular
    - bundler: Webpack

#

Using Angular 17.3.1

bold notch
#

hmm, that one in particular may be a better question to ask the angular community? It's something from your frontend dependencies. Hmm, i just noticed that it comes from a tauri dep too.

#

Also, just to check if tauri info is broken. Can you post your cargo.toml file?

#

okay no, it looks like your project is a bit messed up.

#

It says you have a tauri npm package installed which doesn't exist anymore. It was replaced with the @tauri-apps/api abd @tauri-apps/cli packages (that you also seem to have installed)

#

Then the tauri dependency in cargo.toml seems to be heavily outdated too 🤔

empty flame
#

this is the cargo.toml

name = "karteikarten"
version = "0.1.0"
description = "A Tauri App"
authors = [ "you" ]
license = ""
repository = ""
default-run = "karteikarten"
edition = "2018"
build = "src/build.rs"

[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = [ "derive" ] }
tauri = { version = "0.7", features = [] }
ntapi = "0.3.7"

[target."cfg(windows)".build-dependencies]
winres = "0.1"

[features]
embedded-server = [ "tauri/embedded-server" ]
no-server = [ "tauri/no-server" ]

[[bin]]
name = "karteikarten"
path = "src/main.rs"

bold notch
#

okay that's indeed really old

#

honestly you're probably better of creating a new tauri app

#

this is alpha stuff. Alpha to beta/v1 was a huuuuge update

empty flame
#

is there any guide for converting from an angular app?

bold notch