You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i tried to use the http module from tauri this error was printed:
[ERROR] "httpRequest' not on the allowlist (https://tauri.studio/docs/api/config#tauri.allowlist)"
This option isn't in the docs but tried anyway and now cargo printed the following error:
error: failed to select a version for `tauri`.
... required by package `<application_name> v0.1.0 (<application_path>/src-tauri)`
versions that meet the requirements `=0.9.2` are: 0.9.2
the package `<application_name>` depends on `tauri`, with features: `http-request` but `tauri` does not have these features.
failed to select a version for `tauri` which could resolve this conflict
Expected behavior
When I add the httpRequest option to the allow list I want the application to compile and the ability to use the http module from JavaScript.
Describe the bug
I want to use the Bridge-Pattern with a few more options enabled.
I enabled all options i wanted by reading the documentation:
When i tried to use the http module from tauri this error was printed:
This option isn't in the docs but tried anyway and now cargo printed the following error:
To Reproduce
Steps to reproduce the behavior:
src-tauri/tauri.conf.json
"httpRequest": true,
totauri:allowlist
tauri dev
Expected behavior
When I add the
httpRequest
option to the allow list I want the application to compile and the ability to use thehttp
module from JavaScript.Platform and Versions:
OS: Linux(5.8.10-arch1-1) - linux/x64
Node: 14.11.0
NPM: 6.14.7
Yarn: 1.22.5
Rustc: 1.46.0
The text was updated successfully, but these errors were encountered: