Skip to content

Tauri csp setting - different for "new" vs "add to existing" project #2992

Answered by FabianLars
nokola asked this question in Q&A
Discussion options

You must be logged in to vote

If we're on the same base as in your recent issue, then the problem is an outdated cli, because yarn 3 resolves ^1.0.0-beta.10 to 1.0.0-beta-rc.4. So the fix is still the same -> replace the ^ with and = and run yarn install again.
Because we don't handle yarn 3 very well atm, you need to manually unplug the cli package if you use pnp so it can download the actual binary.
Edit: So the "correct" one is the first one, but either way they are meant to be edited according to your needs to further secure your app.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nokola
Comment options

Answer selected by nokola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants