I followed the quick start guide using Cargo because I've never used npm or Yarn before.
First I ran cargo install create-tauri-app --locked, then cargo create-tauri-app.
I entered my project name, selected Rust - (cargo) as frontend language, even though I intend to stick to plain HTML, CSS and JavaScript. And selected Vanilla as UI template.
While trying to use the JavaScript API the application returns an error TypeError: Module name, '@tauri-apps/api/app' does not resolve to a valid URL. The app module is just an example here. The error message can be seen in the screenshot as well. I have included a screenshot of cargo tauri info.
Would be nice if someone could enlighten me on what I am doing wrong or do not understand.
Thanks in advance.