Package Details: memos-git 0.22.4.r62.gbb86482b-1

Git Clone URL: https://aur.archlinux.org/memos-git.git (read-only, click to copy)
Package Base: memos-git
Description: A privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.
Upstream URL: https://github.com/usememos/memos
Keywords: note-taking
Licenses: MIT
Provides: memos-git
Submitter: LindsayZhou
Maintainer: None
Last Packager: LindsayZhou
Votes: 1
Popularity: 0.000074
First Submitted: 2023-03-31 08:37 (UTC)
Last Updated: 2024-08-29 09:36 (UTC)

Latest Comments

guglovich commented on 2024-08-29 19:36 (UTC) (edited on 2024-08-29 19:37 (UTC) by guglovich)

Failure: 403 Forbidden
npm error code 1
npm error path /tmp/makepkg/memos-git/src/memos/web
npm error command failed
npm error command sh -c cd ../proto && buf generate
npm error A complete log of this run can be found in:

kuon commented on 2024-08-03 12:49 (UTC)

I had to make some changes for it to build properly today, here is my build method:

build(){
    # build frontend
    cd "$srcdir/$_pkgname/web"
    npm i --frozen-lockfile
    npm run build
    rm -fr "$srcdir/$_pkgname/server/router/frontend/dist"
    cp -r "dist" "$srcdir/$_pkgname/server/router/frontend/dist"

    # build backend

    cd "$srcdir/$_pkgname/"
    CGO_ENABLED=0 go build -o memos ./bin/memos/main.go
}

I would also consider adding MEMOS_ADDR=127.0.0.1 to the env file to have a sane secure default.

guglovich commented on 2023-10-12 19:06 (UTC)

I'm left with an error.

LindsayZhou commented on 2023-10-09 12:16 (UTC) (edited on 2023-10-09 12:18 (UTC) by LindsayZhou)

@guglovich: It seems to be caused by pnpm cache. It is stored in the $XDG_DATA_HOME/pnpm/store (~/.local/share/pnpm/store) directory.

Possibly fixed by f637d2b.

guglovich commented on 2023-10-09 10:57 (UTC)

Failure: 403 Forbidden  ELIFECYCLE  Command failed with exit code 1.

god commented on 2023-10-08 02:34 (UTC)

I tried installing it again, and this time it succeeded.

guglovich commented on 2023-10-05 20:41 (UTC)

Failure: 403 Forbidden

god commented on 2023-09-25 23:46 (UTC)

Build fails.

Preparing...
Cloning memos-git build files...
Generating memos-git information...
Checking memos-git dependencies...
Resolving dependencies...
Checking inter-conflicts...
Checking keyring...
Checking integrity...
Loading package files...
Checking file conflicts...
Checking available disc space...
Installing go (2:1.21.1-1)...
Installing pnpm (8.7.5-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Refreshing PackageKit...

Building memos-git...
==> Making package: memos-git 0.15.2.r4.g85ed0202-1 (Tue 26 Sep 2023 08:43:31 JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating memos git repo...
-> Found systemd.service
-> Found sysusers.conf
-> Found memos.conf
-> Found tmpfiles.conf
==> Validating source files with sha512sums...
    memos ... Skipped
    systemd.service ... Passed
    sysusers.conf ... Passed
    memos.conf ... Passed
    tmpfiles.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of memos git repo...
Cloning into 'memos'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +513
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 513, reused 459, downloaded 0, added 0
Progress: resolved 513, reused 513, downloaded 0, added 168
Progress: resolved 513, reused 513, downloaded 0, added 317
Progress: resolved 513, reused 513, downloaded 0, added 513, done

dependencies:
+ @emotion/react 11.11.1
+ @emotion/styled 11.11.0
+ @matejmazur/react-katex 3.1.3
+ @mui/joy 5.0.0-beta.7
+ @reduxjs/toolkit 1.9.5
+ axios 0.27.2
+ classnames 2.3.2
+ copy-to-clipboard 3.3.3
+ highlight.js 11.8.0
+ i18next 21.10.0
+ i18next-browser-languagedetector 7.1.0
+ katex 0.16.8
+ lodash-es 4.17.21
+ long 5.2.3
+ lucide-react 0.263.1
+ nice-grpc-web 3.3.1
+ protobufjs 7.2.5
+ qrcode.react 3.1.0
+ react 18.2.0
+ react-dom 18.2.0
+ react-hot-toast 2.4.1
+ react-i18next 11.18.6
+ react-redux 8.1.2
+ react-router-dom 6.16.0
+ react-use 17.4.0
+ semver 7.5.4
+ tailwindcss 3.3.3
+ textarea-caret 3.1.0
+ uuid 9.0.1
+ zustand 4.4.1

devDependencies:
+ @trivago/prettier-plugin-sort-imports 3.4.0
+ @types/katex 0.16.3
+ @types/lodash-es 4.17.9
+ @types/node 18.17.18
+ @types/qs 6.9.8
+ @types/react 18.2.22
+ @types/react-dom 18.2.7
+ @types/semver 7.5.2
+ @types/textarea-caret 3.0.1
+ @types/uuid 9.0.4
+ @typescript-eslint/eslint-plugin 5.62.0
+ @typescript-eslint/parser 5.62.0
+ @vitejs/plugin-react-swc 3.3.2
+ autoprefixer 10.4.16
+ eslint 8.50.0
+ eslint-config-prettier 8.10.0
+ eslint-plugin-prettier 4.2.1
+ eslint-plugin-react 7.33.2
+ less 4.2.0
+ postcss 8.4.30
+ prettier 2.6.2
+ terser 5.20.0
+ typescript 5.2.2
+ vite 4.4.9

Done in 5.6s

> memos@ build /var/tmp/pamac-build-user/memos-git/src/memos/web
> tsc && vite build

src/components/CreateResourceDialog.tsx(4,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/MemoEditor/ResourceListView.tsx(1,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/MemoEditor/index.tsx(11,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/MemoResource.tsx(1,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/MemoResourceListView.tsx(3,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/ResourceIcon.tsx(3,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/components/Settings/AccessTokenSection.tsx(7,33): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/components/UserBanner.tsx(4,27): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/grpcweb.ts(2,39): error TS2307: Cannot find module './types/proto/api/v2/memo_service' or its corresponding type declarations.
src/grpcweb.ts(3,43): error TS2307: Cannot find module './types/proto/api/v2/resource_service' or its corresponding type declarations.
src/grpcweb.ts(4,41): error TS2307: Cannot find module './types/proto/api/v2/system_service' or its corresponding type declarations.
src/grpcweb.ts(5,38): error TS2307: Cannot find module './types/proto/api/v2/tag_service' or its corresponding type declarations.
src/grpcweb.ts(6,39): error TS2307: Cannot find module './types/proto/api/v2/user_service' or its corresponding type declarations.
src/helpers/api.ts(2,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/pages/MemoDetail.tsx(19,22): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/pages/Resources.tsx(9,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/pages/Setting.tsx(13,27): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/pages/UserProfile.tsx(10,22): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/store/module/resource.ts(2,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/store/reducer/resource.ts(3,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
src/store/v1/user.ts(3,22): error TS2307: Cannot find module '@/types/proto/api/v2/user_service' or its corresponding type declarations.
src/store/v1/user.ts(30,16): error TS7031: Binding element 'user' implicitly has an 'any' type.
src/utils/resource.ts(1,26): error TS2307: Cannot find module '@/types/proto/api/v2/resource_service' or its corresponding type declarations.
 ELIFECYCLE  Command failed with exit code 2.
==> ERROR: A failure occurred in build().
    Aborting...