Getting Build Error on Windows 10

System Information
Windows 10
node version v20.11.1
yarn version 3.6.4

Problem
I am following build guide given at [joplinapp.org] (Building the applications | Joplin) but I am getting the following error at yarn install.

yarn install
PS C:\Project\joplin> yarn install
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 1s 683ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 3s 465ms
➤ YN0000: ┌ Link step
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ root@workspace:. couldn't be built successfully (exit code 1, logs can be found here: C:\Users\Admin\AppData\Local\Temp\xfs-d61c0d1b\build.log)
➤ YN0000: └ Completed in 1m 36s
➤ YN0000: Failed with errors in 1m 42s

And here is the log file

# This file contains the result of Yarn building a package (root@workspace:.)
# Script name: postinstall

[e[90m01:21:17e[39m] Using gulpfile C:\Project\joplin\gulpfile.js
[e[90m01:21:17e[39m] Starting 'build'...
> yarn run buildParallel
➤ YN0000: [@joplin/app-clipper]: Process started
➤ YN0000: [@joplin/doc-builder]: Process started
➤ YN0000: [@joplin/doc-builder]: Process exited (exit code 0), completed in 1s 396ms
➤ YN0000: [@joplin/fork-htmlparser2]: Process started
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: > joplin-webclipper-popup@0.1.0 postinstall
➤ YN0000: [@joplin/app-clipper]: > node postinstall.js && npm run build
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: > joplin-webclipper-popup@0.1.0 build
➤ YN0000: [@joplin/app-clipper]: > webpack --mode=production
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/fork-htmlparser2]: Process exited (exit code 0), completed in 9s 578ms
➤ YN0000: [@joplin/react-native-saf-x]: Process started
➤ YN0000: [@joplin/react-native-saf-x]: Process exited (exit code 0), completed in 9s 437ms
➤ YN0000: [@joplin/turndown]: Process started
➤ YN0000: [@joplin/app-clipper]: asset e[1me[32mindex.jse[39me[22m 179 KiB e[1me[33m[compared for emit]e[39me[22m e[1me[32m[minimized]e[39me[22m (name: main) 1 related asset
➤ YN0000: [@joplin/app-clipper]: asset e[1me[32mindex.htmle[39me[22m 383 bytes e[1me[33m[compared for emit]e[39me[22m
➤ YN0000: [@joplin/app-clipper]: orphan modules 19.9 KiB e[1me[33m[orphan]e[39me[22m 5 modules
➤ YN0000: [@joplin/app-clipper]: runtime modules 972 bytes 5 modules
➤ YN0000: [@joplin/app-clipper]: modules by path e[1m./node_modules/e[39me[22m 179 KiB 19 modules
➤ YN0000: [@joplin/app-clipper]: modules by path e[1m./src/e[39me[22m 43 KiB
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/index.js + 5 modulese[39me[22m 23.3 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/bridge.jse[39me[22m 16.4 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/randomClipperPort.jse[39me[22m 395 bytes e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   ./node_modules/css-loader/dist/cjs.js!e[1m./src/App.csse[39me[22m 2.88 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]: webpack 5.89.0 compiled e[1me[32msuccessfullye[39me[22m in 12246 ms
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: up to date, audited 349 packages in 19s
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: 41 packages are looking for funding
➤ YN0000: [@joplin/app-clipper]:   run `npm fund` for details
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: found 0 vulnerabilities
➤ YN0000: [@joplin/app-clipper]: Process exited (exit code 0), completed in 22s 93ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process started
➤ YN0000: [@joplin/turndown]: e[36m
➤ YN0000: [@joplin/turndown]: e[1msrc/turndown.jse[22m → e[1mlib/turndown.cjs.jse[22m...e[39m
➤ YN0000: [@joplin/turndown-plugin-gfm]: 
➤ YN0000: [@joplin/turndown-plugin-gfm]: src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
➤ YN0000: [@joplin/turndown]: e[32mcreated e[1mlib/turndown.cjs.jse[22m in e[1m281mse[22me[39m
➤ YN0000: [@joplin/turndown-plugin-gfm]: created lib/turndown-plugin-gfm.cjs.js in 123ms
➤ YN0000: [@joplin/turndown]: Process exited (exit code 0), completed in 4s 403ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process exited (exit code 0), completed in 2s 758ms
➤ YN0000: [@joplin/utils]: Process started
➤ YN0000: [@joplin/utils]: Process exited (exit code 0), completed in 7s 58ms
➤ YN0000: [@joplin/renderer]: Process started
➤ YN0000: [@joplin/renderer]: Process exited (exit code 0), completed in 7s 8ms
➤ YN0000: [joplin]: Process started
➤ YN0000: [@joplin/app-desktop]: Process started
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:04e[39m] Requiring external module ts-node/register
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Using gulpfile C:\Project\joplin\packages\app-cli\gulpfile.js
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Starting 'build'...
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Starting 'prepareBuild'...
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Finished 'prepareBuild' after 155 ms
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Finished 'build' after 160 ms
➤ YN0000: [joplin]: Process exited (exit code 0), completed in 4s 977ms
➤ YN0000: [@joplin/app-mobile]: Process started
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:09e[39m] Requiring external module ts-node/register
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Using gulpfile C:\Project\joplin\packages\app-desktop\gulpfile.ts
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'build'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'before-start'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compileScripts'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'copyPluginAssets'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'copyApplicationAssets'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'updateIgnoredTypeScriptBuild'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'buildScriptIndexes'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compileSass'...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compileScripts' after 1.98 s
➤ YN0000: [@joplin/app-desktop]: Generated C:\Project\joplin\packages\app-desktop/packageInfo.js
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compilePackageInfo' after 2.3 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'updateIgnoredTypeScriptBuild' after 2.31 s
➤ YN0000: [@joplin/app-desktop]: Generated C:\Project\joplin\packages\app-desktop/style.min.css
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compileSass' after 2.31 s
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/MainScreen/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\gui\note-viewer\pluginAssets\mermaid'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\gui\\note-viewer\\pluginAssets\\mermaid'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteEditor/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteList/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteListControls/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/Sidebar/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/lib/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/lib/services/database/migrations/index.ts...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\build\tesseract.js-core'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\tesseract.js-core'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'buildScriptIndexes' after 2.5 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Using gulpfile C:\Project\joplin\packages\app-mobile\gulpfile.ts
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'build'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'buildInjectedJs'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'beforeBundle'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Finished 'beforeBundle' after 3.6 ms
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'buildCodeMirrorEditor'...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\tesseract.js-core\tesseract-core-simd.wasm.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\tesseract.js-core\\tesseract-core-simd.wasm.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\pluginAssets\mermaid'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\pluginAssets\\mermaid'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\pluginAssets\mermaid\mermaid.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\pluginAssets\\mermaid\\mermaid.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Building bundle: codeMirrorBundle...
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/tinymce => packages\app-desktop\vendor\lib/tinymce
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\editor\node_modules\@replit\codemirror-vim\dist\index.cjs
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\lib\string-utils-common.js
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\editor\node_modules\@replit\codemirror-vim\dist\index.cjs
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\lib\string-utils-common.js
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@fortawesome/fontawesome-free/webfonts => packages\app-desktop\vendor\lib/@fortawesome/fontawesome-free/webfonts
➤ YN0000: [@joplin/app-mobile]: Bundle codeMirrorBundle built:  asset CodeMirror.bundle.js 1.64 MiB [compared for emit] [minimized] (name: main)
➤ YN0000: [@joplin/app-mobile]: cached modules 3.07 MiB [cached] 168 modules
➤ YN0000: [@joplin/app-mobile]: webpack 5.74.0 compiled successfully in 1609 ms
➤ YN0000: [@joplin/app-desktop]: Copying to C:\Project\joplin\packages\app-desktop\tools/../gui/note-viewer/pluginAssets
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/roboto-fontface/fonts => packages\app-desktop\vendor\lib/roboto-fontface/fonts
➤ YN0000: [@joplin/app-desktop]: Copying to C:\Project\joplin\packages\app-desktop\tools/../pluginAssets
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/theme => packages\app-desktop\vendor\lib/codemirror/theme
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:17e[39m] Finished 'copyPluginAssets' after 7.27 s
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/CodeMirror.bundle.js
➤ YN0000: [@joplin/app-desktop]: Copying Assets\TinyMCE\langs => packages\app-desktop\vendor\lib/tinymce/langs
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:17e[39m] Finished 'buildCodeMirrorEditor' after 4.63 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:17e[39m] Starting 'buildJsDrawEditor'...
➤ YN0000: [@joplin/app-mobile]: Building bundle: svgEditorBundle...
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/tesseract.js-core => packages\app-desktop\build/tesseract.js-core
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@fortawesome/fontawesome-free/css/all.min.css => packages\app-desktop\vendor\lib/@fortawesome/fontawesome-free/css/all.min.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@joeattardi/emoji-button/dist/index.js => packages\app-desktop\vendor\lib/@joeattardi/emoji-button/dist/index.js
➤ YN0000: [@joplin/app-mobile]: Bundle svgEditorBundle built:  asset createJsDrawEditor.bundle.js 529 KiB [compared for emit] [minimized] (name: main) 1 related asset
➤ YN0000: [@joplin/app-mobile]: cached modules 1.16 MiB [cached] 201 modules
➤ YN0000: [@joplin/app-mobile]: webpack 5.74.0 compiled successfully in 971 ms
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: EPERM: operation not permitted, copyfile 'C:\Project\joplin\packages\app-desktop\node_modules\@joeattardi\emoji-button\dist\index.js' -> 'C:\Project\joplin\packages\app-desktop\vendor\lib\@joeattardi\emoji-button\dist\index.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'copyfile',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\node_modules\\@joeattardi\\emoji-button\\dist\\index.js',
➤ YN0000: [@joplin/app-desktop]:   dest: 'C:\\Project\\joplin\\packages\\app-desktop\\vendor\\lib\\@joeattardi\\emoji-button\\dist\\index.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/createJsDrawEditor.bundle.js
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'buildJsDrawEditor' after 1.73 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Starting 'copyWebviewLib'...
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/webviewLib.js
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'copyWebviewLib' after 103 ms
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'buildInjectedJs' after 6.47 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Starting 'encodeAssets'...
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/highlight.js/atom-one-dark-reasonable.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/highlight.js/atom-one-dark-reasonable.css.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/highlight.js/atom-one-light.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/highlight.js/atom-one-light.css.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\vendor\lib\@joeattardi\emoji-button\dist\index.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\vendor\\lib\\@joeattardi\\emoji-button\\dist\\index.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_AMS-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_AMS-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Caligraphic-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Caligraphic-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Caligraphic-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Caligraphic-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Fraktur-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Fraktur-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Fraktur-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Fraktur-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-BoldItalic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-BoldItalic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Math-BoldItalic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Math-BoldItalic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Math-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Math-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Script-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Script-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size1-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size1-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/addon/dialog/dialog.css => packages\app-desktop\vendor\lib/codemirror/addon/dialog/dialog.css
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size2-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size2-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/lib/codemirror.css => packages\app-desktop\vendor\lib/codemirror/lib/codemirror.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/mark.js/dist/mark.min.js => packages\app-desktop\vendor\lib/mark.js/dist/mark.min.js
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size3-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size3-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/react-datetime/css/react-datetime.css => packages\app-desktop\vendor\lib/react-datetime/css/react-datetime.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/roboto-fontface/css/roboto/roboto-fontface.css => packages\app-desktop\vendor\lib/roboto-fontface/css/roboto/roboto-fontface.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/css/smalltalk.css => packages\app-desktop\vendor\lib/smalltalk/css/smalltalk.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/img/IDR_CLOSE_DIALOG_H.png => packages\app-desktop\vendor\lib/smalltalk/img/IDR_CLOSE_DIALOG_H.png
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size4-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size4-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/img/IDR_CLOSE_DIALOG.png => packages\app-desktop\vendor\lib/smalltalk/img/IDR_CLOSE_DIALOG.png
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Typewriter-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Typewriter-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\lib\services\plugins\sandboxProxy.js => packages\app-desktop\vendor\lib/@joplin/lib/services/plugins/sandboxProxy.js
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/pdfjs-dist/build/pdf.worker.min.js => packages\app-desktop\build/pdf.worker.min.js
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: EPERM: operation not permitted, copyfile 'C:\Project\joplin\packages\app-desktop\node_modules\pdfjs-dist\build\pdf.worker.min.js' -> 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'copyfile',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\node_modules\\pdfjs-dist\\build\\pdf.worker.min.js',
➤ YN0000: [@joplin/app-desktop]:   dest: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/katex.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/katex.css.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/mermaid/mermaid.min.js" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/mermaid/mermaid.min.js.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (2) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/mermaid/mermaid_render.js" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/mermaid/mermaid_render.js.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (3) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'encodeAssets' after 18 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Starting 'podInstall'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'podInstall' after 601 μs
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'build' after 24 s
➤ YN0000: [@joplin/app-mobile]: Process exited (exit code 0), completed in 34s 354ms
➤ YN0000: [@joplin/server]: Process started
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (4) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'copyApplicationAssets' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] Error: withRetry: Could not run function after multiple attempts
➤ YN0000: [@joplin/app-desktop]:     at withRetry (C:\Project\joplin\packages\app-desktop\tools\copyApplicationAssets.js:59:8)
➤ YN0000: [@joplin/app-desktop]:     at async main (C:\Project\joplin\packages\app-desktop\tools\copyApplicationAssets.js:145:3)
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'before-start' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'build' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: Process exited (exit code 1), completed in 44s 560ms
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Using gulpfile C:\Project\joplin\packages\server\gulpfile.js
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Starting 'build'...
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/server]: Generated C:\Project\joplin\packages\server/dist/packageInfo.js
➤ YN0000: [@joplin/server]: [e[90m01:22:47e[39m] Finished 'compilePackageInfo' after 984 ms
➤ YN0000: [@joplin/server]: [e[90m01:22:47e[39m] Finished 'build' after 987 ms
➤ YN0000: [@joplin/server]: Process exited (exit code 0), completed in 7s 848ms
➤ YN0000: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
➤ YN0000: Failed with errors in 1m 27s
[e[90m01:22:47e[39m] 'build' errored after 1.48 min
[e[90m01:22:47e[39m] Error: Command failed with exit code 1: yarn run buildParallel
➤ YN0000: [@joplin/app-clipper]: Process started
➤ YN0000: [@joplin/doc-builder]: Process started
➤ YN0000: [@joplin/doc-builder]: Process exited (exit code 0), completed in 1s 396ms
➤ YN0000: [@joplin/fork-htmlparser2]: Process started
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: > joplin-webclipper-popup@0.1.0 postinstall
➤ YN0000: [@joplin/app-clipper]: > node postinstall.js && npm run build
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: > joplin-webclipper-popup@0.1.0 build
➤ YN0000: [@joplin/app-clipper]: > webpack --mode=production
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/fork-htmlparser2]: Process exited (exit code 0), completed in 9s 578ms
➤ YN0000: [@joplin/react-native-saf-x]: Process started
➤ YN0000: [@joplin/react-native-saf-x]: Process exited (exit code 0), completed in 9s 437ms
➤ YN0000: [@joplin/turndown]: Process started
➤ YN0000: [@joplin/app-clipper]: asset e[1me[32mindex.jse[39me[22m 179 KiB e[1me[33m[compared for emit]e[39me[22m e[1me[32m[minimized]e[39me[22m (name: main) 1 related asset
➤ YN0000: [@joplin/app-clipper]: asset e[1me[32mindex.htmle[39me[22m 383 bytes e[1me[33m[compared for emit]e[39me[22m
➤ YN0000: [@joplin/app-clipper]: orphan modules 19.9 KiB e[1me[33m[orphan]e[39me[22m 5 modules
➤ YN0000: [@joplin/app-clipper]: runtime modules 972 bytes 5 modules
➤ YN0000: [@joplin/app-clipper]: modules by path e[1m./node_modules/e[39me[22m 179 KiB 19 modules
➤ YN0000: [@joplin/app-clipper]: modules by path e[1m./src/e[39me[22m 43 KiB
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/index.js + 5 modulese[39me[22m 23.3 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/bridge.jse[39me[22m 16.4 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   e[1m./src/randomClipperPort.jse[39me[22m 395 bytes e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]:   ./node_modules/css-loader/dist/cjs.js!e[1m./src/App.csse[39me[22m 2.88 KiB e[1me[33m[built]e[39me[22m e[1me[33m[code generated]e[39me[22m
➤ YN0000: [@joplin/app-clipper]: webpack 5.89.0 compiled e[1me[32msuccessfullye[39me[22m in 12246 ms
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: up to date, audited 349 packages in 19s
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: 41 packages are looking for funding
➤ YN0000: [@joplin/app-clipper]:   run `npm fund` for details
➤ YN0000: [@joplin/app-clipper]: 
➤ YN0000: [@joplin/app-clipper]: found 0 vulnerabilities
➤ YN0000: [@joplin/app-clipper]: Process exited (exit code 0), completed in 22s 93ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process started
➤ YN0000: [@joplin/turndown]: e[36m
➤ YN0000: [@joplin/turndown]: e[1msrc/turndown.jse[22m → e[1mlib/turndown.cjs.jse[22m...e[39m
➤ YN0000: [@joplin/turndown-plugin-gfm]: 
➤ YN0000: [@joplin/turndown-plugin-gfm]: src/gfm.js → lib/turndown-plugin-gfm.cjs.js...
➤ YN0000: [@joplin/turndown]: e[32mcreated e[1mlib/turndown.cjs.jse[22m in e[1m281mse[22me[39m
➤ YN0000: [@joplin/turndown-plugin-gfm]: created lib/turndown-plugin-gfm.cjs.js in 123ms
➤ YN0000: [@joplin/turndown]: Process exited (exit code 0), completed in 4s 403ms
➤ YN0000: [@joplin/turndown-plugin-gfm]: Process exited (exit code 0), completed in 2s 758ms
➤ YN0000: [@joplin/utils]: Process started
➤ YN0000: [@joplin/utils]: Process exited (exit code 0), completed in 7s 58ms
➤ YN0000: [@joplin/renderer]: Process started
➤ YN0000: [@joplin/renderer]: Process exited (exit code 0), completed in 7s 8ms
➤ YN0000: [joplin]: Process started
➤ YN0000: [@joplin/app-desktop]: Process started
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:04e[39m] Requiring external module ts-node/register
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Using gulpfile C:\Project\joplin\packages\app-cli\gulpfile.js
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Starting 'build'...
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Starting 'prepareBuild'...
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Finished 'prepareBuild' after 155 ms
➤ YN0000: [joplin]: [e[90m01:22:05e[39m] Finished 'build' after 160 ms
➤ YN0000: [joplin]: Process exited (exit code 0), completed in 4s 977ms
➤ YN0000: [@joplin/app-mobile]: Process started
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:09e[39m] Requiring external module ts-node/register
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Using gulpfile C:\Project\joplin\packages\app-desktop\gulpfile.ts
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'build'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'before-start'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compileScripts'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'copyPluginAssets'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'copyApplicationAssets'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'updateIgnoredTypeScriptBuild'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'buildScriptIndexes'...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:10e[39m] Starting 'compileSass'...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compileScripts' after 1.98 s
➤ YN0000: [@joplin/app-desktop]: Generated C:\Project\joplin\packages\app-desktop/packageInfo.js
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compilePackageInfo' after 2.3 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'updateIgnoredTypeScriptBuild' after 2.31 s
➤ YN0000: [@joplin/app-desktop]: Generated C:\Project\joplin\packages\app-desktop/style.min.css
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'compileSass' after 2.31 s
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/MainScreen/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\gui\note-viewer\pluginAssets\mermaid'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\gui\\note-viewer\\pluginAssets\\mermaid'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteEditor/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteList/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/NoteListControls/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/app-desktop/gui/Sidebar/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/lib/commands/index.ts...
➤ YN0000: [@joplin/app-desktop]: Generating C:/Project/joplin/packages/lib/services/database/migrations/index.ts...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\build\tesseract.js-core'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\tesseract.js-core'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:12e[39m] Finished 'buildScriptIndexes' after 2.5 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Using gulpfile C:\Project\joplin\packages\app-mobile\gulpfile.ts
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'build'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'buildInjectedJs'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'beforeBundle'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Finished 'beforeBundle' after 3.6 ms
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:13e[39m] Starting 'buildCodeMirrorEditor'...
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\tesseract.js-core\tesseract-core-simd.wasm.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\tesseract.js-core\\tesseract-core-simd.wasm.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: ENOTEMPTY: directory not empty, rmdir 'C:\Project\joplin\packages\app-desktop\pluginAssets\mermaid'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4051,
➤ YN0000: [@joplin/app-desktop]:   code: 'ENOTEMPTY',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'rmdir',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\pluginAssets\\mermaid'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\pluginAssets\mermaid\mermaid.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\pluginAssets\\mermaid\\mermaid.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Building bundle: codeMirrorBundle...
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/tinymce => packages\app-desktop\vendor\lib/tinymce
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\editor\node_modules\@replit\codemirror-vim\dist\index.cjs
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\lib\string-utils-common.js
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\editor\node_modules\@replit\codemirror-vim\dist\index.cjs
➤ YN0000: [@joplin/app-mobile]: Compiling with Babel: C:\Project\joplin\packages\lib\string-utils-common.js
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@fortawesome/fontawesome-free/webfonts => packages\app-desktop\vendor\lib/@fortawesome/fontawesome-free/webfonts
➤ YN0000: [@joplin/app-mobile]: Bundle codeMirrorBundle built:  asset CodeMirror.bundle.js 1.64 MiB [compared for emit] [minimized] (name: main)
➤ YN0000: [@joplin/app-mobile]: cached modules 3.07 MiB [cached] 168 modules
➤ YN0000: [@joplin/app-mobile]: webpack 5.74.0 compiled successfully in 1609 ms
➤ YN0000: [@joplin/app-desktop]: Copying to C:\Project\joplin\packages\app-desktop\tools/../gui/note-viewer/pluginAssets
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/roboto-fontface/fonts => packages\app-desktop\vendor\lib/roboto-fontface/fonts
➤ YN0000: [@joplin/app-desktop]: Copying to C:\Project\joplin\packages\app-desktop\tools/../pluginAssets
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/theme => packages\app-desktop\vendor\lib/codemirror/theme
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:17e[39m] Finished 'copyPluginAssets' after 7.27 s
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/CodeMirror.bundle.js
➤ YN0000: [@joplin/app-desktop]: Copying Assets\TinyMCE\langs => packages\app-desktop\vendor\lib/tinymce/langs
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:17e[39m] Finished 'buildCodeMirrorEditor' after 4.63 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:17e[39m] Starting 'buildJsDrawEditor'...
➤ YN0000: [@joplin/app-mobile]: Building bundle: svgEditorBundle...
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/tesseract.js-core => packages\app-desktop\build/tesseract.js-core
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@fortawesome/fontawesome-free/css/all.min.css => packages\app-desktop\vendor\lib/@fortawesome/fontawesome-free/css/all.min.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/@joeattardi/emoji-button/dist/index.js => packages\app-desktop\vendor\lib/@joeattardi/emoji-button/dist/index.js
➤ YN0000: [@joplin/app-mobile]: Bundle svgEditorBundle built:  asset createJsDrawEditor.bundle.js 529 KiB [compared for emit] [minimized] (name: main) 1 related asset
➤ YN0000: [@joplin/app-mobile]: cached modules 1.16 MiB [cached] 201 modules
➤ YN0000: [@joplin/app-mobile]: webpack 5.74.0 compiled successfully in 971 ms
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: EPERM: operation not permitted, copyfile 'C:\Project\joplin\packages\app-desktop\node_modules\@joeattardi\emoji-button\dist\index.js' -> 'C:\Project\joplin\packages\app-desktop\vendor\lib\@joeattardi\emoji-button\dist\index.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'copyfile',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\node_modules\\@joeattardi\\emoji-button\\dist\\index.js',
➤ YN0000: [@joplin/app-desktop]:   dest: 'C:\\Project\\joplin\\packages\\app-desktop\\vendor\\lib\\@joeattardi\\emoji-button\\dist\\index.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/createJsDrawEditor.bundle.js
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'buildJsDrawEditor' after 1.73 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Starting 'copyWebviewLib'...
➤ YN0000: [@joplin/app-mobile]: Creating: C:\Project\joplin\packages\app-mobile/lib/rnInjectedJs/webviewLib.js
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'copyWebviewLib' after 103 ms
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Finished 'buildInjectedJs' after 6.47 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:19e[39m] Starting 'encodeAssets'...
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/highlight.js/atom-one-dark-reasonable.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/highlight.js/atom-one-dark-reasonable.css.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/highlight.js/atom-one-light.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/highlight.js/atom-one-light.css.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\vendor\lib\@joeattardi\emoji-button\dist\index.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\vendor\\lib\\@joeattardi\\emoji-button\\dist\\index.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_AMS-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_AMS-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Caligraphic-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Caligraphic-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Caligraphic-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Caligraphic-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Fraktur-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Fraktur-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Fraktur-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Fraktur-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-BoldItalic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-BoldItalic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Main-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Main-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Math-BoldItalic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Math-BoldItalic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Math-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Math-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Bold.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Bold.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Italic.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Italic.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_SansSerif-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_SansSerif-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Script-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Script-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size1-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size1-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/addon/dialog/dialog.css => packages\app-desktop\vendor\lib/codemirror/addon/dialog/dialog.css
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size2-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size2-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/codemirror/lib/codemirror.css => packages\app-desktop\vendor\lib/codemirror/lib/codemirror.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/mark.js/dist/mark.min.js => packages\app-desktop\vendor\lib/mark.js/dist/mark.min.js
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size3-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size3-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/react-datetime/css/react-datetime.css => packages\app-desktop\vendor\lib/react-datetime/css/react-datetime.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/roboto-fontface/css/roboto/roboto-fontface.css => packages\app-desktop\vendor\lib/roboto-fontface/css/roboto/roboto-fontface.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/css/smalltalk.css => packages\app-desktop\vendor\lib/smalltalk/css/smalltalk.css
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/img/IDR_CLOSE_DIALOG_H.png => packages\app-desktop\vendor\lib/smalltalk/img/IDR_CLOSE_DIALOG_H.png
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Size4-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Size4-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/smalltalk/img/IDR_CLOSE_DIALOG.png => packages\app-desktop\vendor\lib/smalltalk/img/IDR_CLOSE_DIALOG.png
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/fonts/KaTeX_Typewriter-Regular.woff2" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/fonts/KaTeX_Typewriter-Regular.woff2.base64.js"
➤ YN0000: [@joplin/app-desktop]: Copying packages\lib\services\plugins\sandboxProxy.js => packages\app-desktop\vendor\lib/@joplin/lib/services/plugins/sandboxProxy.js
➤ YN0000: [@joplin/app-desktop]: Copying packages\app-desktop\node_modules/pdfjs-dist/build/pdf.worker.min.js => packages\app-desktop\build/pdf.worker.min.js
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (0) [Error: EPERM: operation not permitted, copyfile 'C:\Project\joplin\packages\app-desktop\node_modules\pdfjs-dist\build\pdf.worker.min.js' -> 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'copyfile',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\node_modules\\pdfjs-dist\\build\\pdf.worker.min.js',
➤ YN0000: [@joplin/app-desktop]:   dest: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/katex/katex.css" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/katex/katex.css.base64.js"
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/mermaid/mermaid.min.js" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/mermaid/mermaid.min.js.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (1) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (2) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: Encoding "C:\Project\joplin\packages\app-mobile\tools/../../renderer/assets/mermaid/mermaid_render.js" => "C:\Project\joplin\packages\app-mobile\tools/../pluginAssets/mermaid/mermaid_render.js.base64.js"
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (3) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'encodeAssets' after 18 s
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Starting 'podInstall'...
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'podInstall' after 601 μs
➤ YN0000: [@joplin/app-mobile]: [e[90m01:22:37e[39m] Finished 'build' after 24 s
➤ YN0000: [@joplin/app-mobile]: Process exited (exit code 0), completed in 34s 354ms
➤ YN0000: [@joplin/server]: Process started
➤ YN0000: [@joplin/app-desktop]: withRetry: Failed calling function - will retry (4) [Error: EPERM: operation not permitted, lstat 'C:\Project\joplin\packages\app-desktop\build\pdf.worker.min.js'] {
➤ YN0000: [@joplin/app-desktop]:   errno: -4048,
➤ YN0000: [@joplin/app-desktop]:   code: 'EPERM',
➤ YN0000: [@joplin/app-desktop]:   syscall: 'lstat',
➤ YN0000: [@joplin/app-desktop]:   path: 'C:\\Project\\joplin\\packages\\app-desktop\\build\\pdf.worker.min.js'
➤ YN0000: [@joplin/app-desktop]: }
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'copyApplicationAssets' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] Error: withRetry: Could not run function after multiple attempts
➤ YN0000: [@joplin/app-desktop]:     at withRetry (C:\Project\joplin\packages\app-desktop\tools\copyApplicationAssets.js:59:8)
➤ YN0000: [@joplin/app-desktop]:     at async main (C:\Project\joplin\packages\app-desktop\tools\copyApplicationAssets.js:145:3)
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'before-start' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: [e[90m01:22:44e[39m] 'build' errored after 34 s
➤ YN0000: [@joplin/app-desktop]: Process exited (exit code 1), completed in 44s 560ms
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Using gulpfile C:\Project\joplin\packages\server\gulpfile.js
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Starting 'build'...
➤ YN0000: [@joplin/server]: [e[90m01:22:46e[39m] Starting 'compilePackageInfo'...
➤ YN0000: [@joplin/server]: Generated C:\Project\joplin\packages\server/dist/packageInfo.js
➤ YN0000: [@joplin/server]: [e[90m01:22:47e[39m] Finished 'compilePackageInfo' after 984 ms
➤ YN0000: [@joplin/server]: [e[90m01:22:47e[39m] Finished 'build' after 987 ms
➤ YN0000: [@joplin/server]: Process exited (exit code 0), completed in 7s 848ms
➤ YN0000: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
➤ YN0000: Failed with errors in 1m 27s
    at makeError (C:\Project\joplin\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Project\joplin\node_modules\execa\index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async execCommand (C:\Project\joplin\gulpfile.js:27:17)
    at async fn (C:\Project\joplin\gulpfile.js:64:5)

I have used yarn install multiple times but this error is not going away. Please help if you can.

Also i before i was having a permission error at corepack enable but i solved it using this
https://github.com/nodejs/corepack/issues/71
Thanks

Here are some things that might help:

  • Cloning Joplin into a subdirectory of C:\Users\YourUserNameHere\ instead of C:\Project (or maybe checking the folder permissions on C:\Project).
    • This might help if the current Windows user doesn't have the correct permissions for the C:\Project folder.
  • Running yarn install as corepack yarn install.
    • It looks like you've already fixed the corepack enable issue, but if the fix is somehow causing issues, the above might help.

Looks like an issue with permissions

With Windows, sometime you need to restart your computer to solve these permission errors, for example if a program has an open handle on one of the folders

Thanks everyone it work after running corepack yarn install a couple of times.
Also is their a way to open console panel in joplin desktop?

1 Like