JustPaste.it
Run tauri-apps/tauri-action@v0

  with:

    tagName: app-v__VERSION__

    releaseName: App v__VERSION__

    releaseBody: See the assets to download this version and install.

    releaseDraft: true

    prerelease: false

    projectPath: .

    configPath: tauri.conf.json

    includeDebug: false

  env:

    CARGO_INCREMENTAL: 0

    CARGO_TERM_COLOR: always

    CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

    GITHUB_TOKEN: ***

running yarn [ 'tauri', 'build' ]

yarn run v1.22.19

$ tauri build

     Running beforeBuildCommand `yarn run build && yarn run export`

$ next build

warn  - You have enabled experimental feature (appDir) in next.config.js.

warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback

warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache

Attention: Next.js now collects completely anonymous telemetry regarding usage.

This information is used to shape Next.js' roadmap and prioritize features.

You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:

https://nextjs.org/telemetry

info  - Creating an optimized production build...

info  - Compiled successfully

info  - Linting and checking validity of types...

Pages directory cannot be found at D:\a\desktop-app\desktop-app\pages or D:\a\desktop-app\desktop-app\src\pages. If using a custom path, please configure with the `no-html-link-for-pages` rule in your eslint config file.

info  - Collecting page data...

info  - Generating static pages (0/7)

SyntaxError: Unexpected token u in JSON at position 0

info  - Generating static pages (1/7)

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

info  - Generating static pages (3/7)

Error occurred prerendering page "/recordings". Read more: https://nextjs.org/docs/messages/prerender-error

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

Error occurred prerendering page "/settings". Read more: https://nextjs.org/docs/messages/prerender-error

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

Error occurred prerendering page "/tests". Read more: https://nextjs.org/docs/messages/prerender-error

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

info  - Generating static pages (5/7)

SyntaxError: Unexpected token u in JSON at position 0

info  - Generating static pages (7/7)

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

SyntaxError: Unexpected token u in JSON at position 0

    at JSON.parse (<anonymous>)

    at U (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:22:53)

    at c (D:\a\desktop-app\desktop-app\node_modules\next\dist\compiled\react-server-dom-webpack\cjs\react-server-dom-webpack-client.edge.production.min.js:24:307)

> Export encountered errors on following paths:

    /page: /

    /recordings/page: /recordings

    /settings/page: /settings

    /tests/page: /tests

error Command failed with exit code 1.

       Error beforeBuildCommand `yarn run build && yarn run export` failed with exit code 1

error Command failed with exit code 1.

Error: Command failed with exit code 1: yarn tauri build