On Fri, 11 Apr 2025 18:07:41 +0530 Pirate Praveen <prav...@debian.org> wrote:
On Sat, 05 Apr 2025 04:05:22 +0530 Pirate Praveen <prav...@debian.org> wrote:
> Package: gitlab
> Version: 17.5.5-6
> Severity: grave
> X-Debbugs-Cc: prav...@debian.org
> > Dear Maintainer, > > When installing gitlab 17.5.5-6
gitlab 17.6.5 moves further and fails with these errors,

WARNING in /var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/create-fetcher/lib.js Module not found: Error: Can't resolve 'graphql-ws' in '/var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/create-fetcher' @ /var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/create-fetcher/lib.js @ /var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/create-fetcher/createFetcher.js @ /var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/create-fetcher/index.js
  @ /var/lib/gitlab/node_modules/@graphiql/toolkit/dist/cjs/index.js
  @ /var/lib/gitlab/node_modules/@graphiql/react/dist/index.mjs
  @ /var/lib/gitlab/node_modules/graphiql/esm/index.js
  @ ./entrypoints/graphql_explorer.js

ERROR in unable to locate '/etc/node_modules/pdfjs-dist-v4/cmaps' glob

ERROR in unable to locate '/etc/node_modules/pdfjs-dist-v3/legacy/build/pdf.worker.min.js' glob

ERROR in unable to locate '/etc/node_modules/pdfjs-dist-v4/legacy/build/pdf.worker.min.mjs' glob

ERROR in unable to locate '/etc/node_modules/pdfjs-dist-v3/cmaps' glob



Two places it is trying to use pdfjs are in app/assets/javascripts/pdf/index.vue and config/pdfjs.constants.js

I think the error is coming since it is trying to find pdfjs-dist relative to config directory, which is a symbolic link to /etc/gitlab.

Hi Jeremy, any ideas to move forward here?

The actual node module is present in /var/lib/gitlab/node_modules which is symbolic linked to /usr/share/gitlab/node_modules as well.

Trying to balance between FHS/debian policy, yarn and ruby conflicting expectations on which directories should be writable.

Attachment: OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to