#Cannot initiate ios
36 messages · Page 1 of 1 (latest)
Thank you for your message!
1. Search the #1047150269156294677 forum for existing posts
2. Search Github issues to see if this is a known issue
3. Send the output of `tauri info`
4. Provide reproduction steps for your issue
5. Be polite and remember to follow the [Tauri Code of Conduct](https://github.com/tauri-apps/governance-and-guidance/blob/main/CODE_OF_CONDUCT.md)
Once you've read this and taken the appropriate steps, react to this message
What's the output when you run "yarn tauri build" or "tauri build" in your terminal?
I had the same issue before; check the version of your tauri-utils and tauri-bundler compared to other tauri-related packages
All I did was npm create tauri-app@latest — —alpha
Error tauri.conf.json error on tauri: Additional properties are not allowed ('allowlist', 'updater' were unexpected)
After I removed the updater and allowlist from the config, this is what I got
I think this happened because of the breaking changes the latest alpha versions of tauri packages introduce.
this is what I have for urils: [[package]]
name = "tauri-utils"
version = "2.0.0-alpha.5"
tauri-codegen (which it complains about in the screenshot too) should be alpha.5 too
Fabian helped me when I had this issue before 
you ended up downgrading to the prior alpha release, right?
yeah, but to alpha.4 (not prior alpha)
running cargo update in your src-tauri dir should at least get that error out of the way
[[package]]
name = "tauri-codegen"
version = "2.0.0-alpha.4"
I run the cargo update, but nothing changes
In your cargo.toml file, remove shell-open from tauri's feature list, then run cargo update in your src-tauri dir again
just tried it out myself and yeah, the CTA template is a bit messed up
Thank you so much, now it is working! But I still need to remove allowlist and updater from tauri.conf.json due to this error Error tauri.conf.json error on tauri: Additional properties are not allowed ('allowlist', 'updater' were unexpected). May I know why? Sorry I am still new.
It's because they have been moved to other parts of Tauri, but the CTA template might have not been updated to reflect this
Get it, thanks!
I think shell-open feature has been moved to the shell plugin in
https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/shell
correct
The draft PR for updating the template seems to be here:
https://github.com/tauri-apps/create-tauri-app/pull/424
ah right, that one was waiting for the plugin releases but i feel like that was a mistake lol
oh ahaha 
@grand kayak @umbral violet @dusky saddle Sorry I am asking stupid question again. When I run dev, I got this error: Cannot find module '@tauri-apps/api/fs' or its corresponding type declarations for this line: import { BaseDirectory, writeTextFile, readTextFile, exists, createDir } from '@tauri-apps/api/fs'; I followed the installation guide here: https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/fs. But I get error: npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@tauri-apps%2Fplugin-fs - Not found
npm ERR! 404
npm ERR! 404 '@tauri-apps/plugin-fs@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url. Is there a way I can make fs works on ios? Same error also happen to this line: import { open } from '@tauri-apps/api/shell';
@shy pendant do you have @tauri-apps/api specified in the dependencies array in package.json?
this is what I have: "dependencies": {
"@supabase/supabase-js": "^2.22.0",
"@tauri-apps/api": "^2.0.0-alpha.4",
"short-unique-id": "^4.4.4",
"svelte-portal": "^2.2.0"
},
yeah, @tauri-apps/plugin-fs does not exist... no idea
Thanks anyway~
The readme is once again ahead of itself 😮💨
we're focusing on the plugins rn though so hopefully that's just a matter of days
@shy pendant for now you could create a tauri command in rust (in main.rs) that performs the filesystem actions you require
the plugin does exist, just not in the npm reg. you can still install it from git (also shown in the readme)
+1.
how to fix this?
if i want to keep allowlist and updater parts ?