Skip to content
New issue

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

Yarn build not working on v2.5.0 #502

Closed
Today20092 opened this issue Mar 7, 2024 · 2 comments
Closed

Yarn build not working on v2.5.0 #502

Today20092 opened this issue Mar 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Today20092
Copy link

Describe the bug
Yarn build does not work.

yarn build
yarn run v1.22.21
$ next build
- info Loaded env from /opt/linkwarden/.env
- info Linting and checking validity of types ...Failed to compile.

./components/CollectionListing.tsx:36:17
Type error: Property 'collectionOrder' does not exist on type 'AccountSettings'.

  34 |         collections,
  35 |         router,
> 36 |         account.collectionOrder
     |                 ^
  37 |       );
  38 |     }
  39 |     return undefined;
error Command failed with exit code 1.

To Reproduce
In shell /opt/linkwarden

  1. git pull
  2. yarn
  3. npx playwright install-deps
  4. yarn build

Expected behavior
Linkwarden to build then follow the next upgrading comand:

yarn prisma migrate deploy

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Debian GNU
  • Version: Linux 12 (bookworm)

Additional context
Add any other context about the problem here.
Used Proxmox Helper Script first, then tried to do manually.

@Today20092 Today20092 added the bug Something isn't working label Mar 7, 2024
@daniel31x13
Copy link
Member

Someone encountered the exact issue on the Discord server and managed to resolve it:
image

Also have you ran yarn prisma generate?

@Today20092
Copy link
Author

Also have you ran yarn prisma generate?
yes this seem to have worked. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants