We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permission denied
When run npm run tauri dev at second time, got error,
npm run tauri dev
> launcher@0.3.7 tauri /Users/kaichaosun/github/holo/launcher > tauri "dev" app:spawn Running "/Users/kaichaosun/github/holo/launcher/node_modules/@tauri-apps/cli/bin/tauri-cli tauri dev" +0ms Error: `Permission denied (os error 13)` Caused by: Permission denied (os error 13) app:spawn Command "/Users/kaichaosun/github/holo/launcher/node_modules/@tauri-apps/cli/bin/tauri-cli" failed with exit code: 1 +0ms
The command works again if I remove target folder in src-tauri. It seems rebuild didn't work.
src-tauri
On mac m1 pro, with rust version,
rustc 1.56.1 (59eed8a2a 2021-11-01) binary: rustc commit-hash: 59eed8a2aac0230a8b53e89d4e99d55912ba6b35 commit-date: 2021-11-01 host: aarch64-apple-darwin release: 1.56.1 LLVM version: 13.0.0
npm run dev
No response
> launcher@0.3.7 tauri /Users/kaichaosun/github/holo/launcher > tauri "info" app:spawn Running "/Users/kaichaosun/github/holo/launcher/node_modules/@tauri-apps/cli/bin/tauri-cli tauri info" +0ms Operating System - Mac OS, version 12.0.1 X64 Node.js environment Node.js - 14.16.1 @tauri-apps/cli - 1.0.0-beta.10 @tauri-apps/api - 1.0.0-beta.8 Global packages npm - 6.14.12 yarn - 1.22.17 Rust environment rustc - 1.56.1 cargo - 1.56.0 App directory structure /node_modules /tests /.cargo /public /scripts /.github /src-tauri /.git /src App tauri.rs - 1.0.0-beta.8 build-type - bundle CSP - default-src blob: data: filesystem: ws: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self' distDir - target/webpack_dist devPath - target/webpack_dist framework - Vue.js (Vue CLI) bundler - Webpack
The text was updated successfully, but these errors were encountered:
you have your webpack output inside the target, can you change that to be outside of it and try again ?
target
Sorry, something went wrong.
@amrbashir just tried move it outside, still no luck. and the permission of target folder,
drwxr-xr-x 4 kaichaosun staff 128 Jan 13 10:20 target
Can you try making a minimal repro ? the repo you linked is huge which will make it harder to spot the bug.
It's resolved in latest release, thanks!
No branches or pull requests
Describe the bug
When run
npm run tauri dev
at second time, got error,The command works again if I remove target folder in
src-tauri
. It seems rebuild didn't work.On mac m1 pro, with rust version,
Reproduction
npm run dev
for 2 times, not sure if depends on machine.Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: