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
git clone -b tauri2.0-3 --depth 1 https://github.com/mikoto2000/scab-player
cd scab-player
npm install @tauri-apps/cli@next
npm run tauri migrate
Expected behavior
no error occurred.
Full tauri info output
PS F:\project\sp3> npm run tauri info
> [email protected] tauri
> tauri info
[✘] Environment
- OS: Windows 10.0.22631 X64
✔ WebView2: 128.0.2739.54
✘ Couldn't detect any Visual Studio or VS Build Tools instance with MSVC and SDK components. Download from https://aka.ms/vs/17/release/vs_Build
o
ols.exe
✔ rustc: 1.79.0 (129f3b996 2024-06-10)
✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.11.1
- npm: 10.2.4
[-] Packages
- tauri [RUST]: 1.6.8
- tauri-build [RUST]: 1.5.2
- wry [RUST]: 0.24.10
- tao [RUST]: 0.16.9
- @tauri-apps/api [NPM]: 1.5.6 (outdated, latest: 1.6.0)
- @tauri-apps/cli [NPM]: 1.5.14 (outdated, latest: 1.6.1)
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../build
- devPath: http://localhost:3000/
- framework: React
Stack trace
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
6 timing config:load:builtin Completed in 2ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:F:\project\sp3\.npmrc Completed in 0ms
10 timing config:load:project Completed in 0ms
11 timing config:load:file:C:\Users\mikoto\.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\mikoto\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 7ms
17 timing npm:load:configload Completed in 7ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 1ms
21 verbose title npm add @tauri-apps/[email protected]
22 verbose argv "add" "@tauri-apps/[email protected]"
23 timing npm:load:setTitle Completed in 0ms
24 timing npm:load:display Completed in 0ms
25 verbose logfile logs-max:10 dir:C:\Users\mikoto\AppData\Local\npm-cache\_logs\2024-09-03T04_31_11_694Z-
26 verbose logfile C:\Users\mikoto\AppData\Local\npm-cache\_logs\2024-09-03T04_31_11_694Z-debug-0.log
27 timing npm:load:logFile Completed in 5ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 31ms
31 timing arborist:ctor Completed in 0ms
32 silly logfile start cleaning logs, removing 3 files
33 silly logfile error removing log file C:\Users\mikoto\AppData\Local\npm-cache\_logs\2024-09-03T04_30_51_609Z-debug-0.log [Error: EPERM: operation not permitted, lstat 'C:\Users\mikoto\AppData\Local\npm-cache\_logs\2024-09-03T04_30_51_609Z-debug-0.log'] {
33 silly logfile errno: -4048,
33 silly logfile code: 'EPERM',
33 silly logfile syscall: 'lstat',
33 silly logfile path: 'C:\\Users\\mikoto\\AppData\\Local\\npm-cache\\_logs\\2024-09-03T04_30_51_609Z-debug-0.log'
33 silly logfile }
34 silly logfile done cleaning log files
35 timing idealTree:init Completed in 340ms
36 timing idealTree:userRequests Completed in 0ms
37 silly idealTree buildDeps
38 silly fetch manifest @tauri-apps/[email protected]
39 timing arborist:ctor Completed in 0ms
40 http fetch GET 200 https://registry.npmjs.org/@tauri-apps%2fplugin-fs 1692ms (cache revalidated)
41 silly placeDep ROOT @tauri-apps/plugin-fs@ OK for: [email protected] want: 2.0.0-rc
42 timing idealTree:#root Completed in 1698ms
43 timing idealTree:node_modules/@tauri-apps/plugin-fs Completed in 0ms
44 timing idealTree:buildDeps Completed in 1699ms
45 timing idealTree:fixDepFlags Completed in 5ms
46 timing idealTree Completed in 2046ms
47 timing command:add Completed in 2052ms
48 verbose type version
49 verbose stack @tauri-apps/plugin-fs: No matching version found for @tauri-apps/[email protected].
49 verbose stack at module.exports (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-pick-manifest\lib\index.js:209:23)
49 verbose stack at RegistryFetcher.manifest (C:\Program Files\nodejs\node_modules\npm\node_modules\pacote\lib\registry.js:119:22)
49 verbose stack at async #nodeFromEdge (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1049:19)
49 verbose stack at async #buildDepStep (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:917:11)
49 verbose stack at async Arborist.buildIdealTree (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:196:7)
49 verbose stack at async Promise.all (index 1)
49 verbose stack at async Arborist.reify (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:159:5)
49 verbose stack at async Install.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\install.js:152:5)
49 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli-entry.js:61:5)
50 verbose cwd F:\project\sp3\src-tauri
51 verbose Windows_NT 10.0.22631
52 verbose node v20.11.1
53 verbose npm v10.2.4
54 error code ETARGET
55 error notarget No matching version found for @tauri-apps/[email protected].
56 error notarget In most cases you or one of your dependencies are requesting
56 error notarget a package version that doesn't exist.
57 verbose exit 1
58 timing npm Completed in 2252ms
59 verbose unfinished npm timer reify 1725337871893
60 verbose unfinished npm timer reify:loadTrees 1725337871896
61 verbose code 1
62 error A complete log of this run can be found in: C:\Users\mikoto\AppData\Local\npm-cache\_logs\2024-09-03T04_31_11_694Z-debug-0.log
Additional context
On Linux, it succeeds after some choices are requested.
node@ff1322d8ca00:~/sp3$ npm install @tauri-apps/cli@next
added 1 package, removed 1 package, changed 1 package, and audited 1398 packages in 1s
272 packages are looking for funding
run `npm fund`for details
10 vulnerabilities (4 moderate, 6 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit`for details.
node@ff1322d8ca00:~/sp3$ npm run tauri migrate
>[email protected] tauri
> tauri migrate
Info Installing NPM dependency "@tauri-apps/api@^2.0.0-rc.0"...
Info Installing Cargo dependency "tauri-plugin-http"...
Info Installing NPM dependency "@tauri-apps/plugin-http@^2.0.0-rc"...
Added permission `http:default` to `migrated` at /home/node/sp3/src-tauri/capabilities/migrated.json
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-process"...
Info Installing NPM dependency "@tauri-apps/plugin-process@^2.0.0-rc"...
Added permission `process:default` to `migrated` at /home/node/sp3/src-tauri/capabilities/migrated.json
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-dialog"...
Info Installing NPM dependency "@tauri-apps/plugin-dialog@^2.0.0-rc"...
Added permission `dialog:default` to `migrated` at /home/node/sp3/src-tauri/capabilities/migrated.json
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-clipboard-manager"...
Info Installing NPM dependency "@tauri-apps/plugin-clipboard-manager"...
Added permission `clipboard-manager:default` to `migrated` at /home/node/sp3/src-tauri/capabilities/migrated.json
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-global-shortcut"...
Info Installing NPM dependency "@tauri-apps/plugin-global-shortcut@^2.0.0-rc"...
Info Capability matching platforms ["macOS", "windows", "linux"] not found, creating /home/node/sp3/src-tauri/capabilities/desktop.json
Added permission `global-shortcut:default` to `desktop-capability` at /home/node/sp3/src-tauri/capabilities/desktop.json
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-os"...
Info Installing NPM dependency "@tauri-apps/plugin-os@^2.0.0-rc"...
✔ Choose which capabilities to add the permission `os:default` to: ·-
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-fs"...
Info Installing NPM dependency "@tauri-apps/plugin-fs@^2.0.0-rc"...
✔ Choose which capabilities to add the permission `fs:default` to: ·-
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-shell"...
Info Installing NPM dependency "@tauri-apps/plugin-shell@^2.0.0-rc"...
✔ Choose which capabilities to add the permission `shell:default` to: ·-
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
Info Installing Cargo dependency "tauri-plugin-notification"...
Info Installing NPM dependency "@tauri-apps/plugin-notification@^2.0.0-rc"...
✔ Choose which capabilities to add the permission `notification:default` to: ·-
Info Adding plugin to /home/node/sp3/src-tauri/src/lib.rs
Info Running `cargo fmt`...
node@ff1322d8ca00:~/sp3$ echo$?
0
The text was updated successfully, but these errors were encountered:
Describe the bug
I create #10500, I retry migration use newest version.
Error during installation of @tauri-apps/[email protected].
Reproduction
git clone -b tauri2.0-3 --depth 1 https://github.com/mikoto2000/scab-player cd scab-player npm install @tauri-apps/cli@next npm run tauri migrate
Expected behavior
no error occurred.
Full
tauri info
outputStack trace
Additional context
On Linux, it succeeds after some choices are requested.
The text was updated successfully, but these errors were encountered: