Skip to content

question: How to install UA plugin in offline way #681

Description

@lindeer

Your question

My OpenCode(1.14.20) LLM Agency is within intranet, and I try to immigrate UA from internet.
So I have to install all its dependencies, I download source code and checkout v2.9.0, configure nodejs to v20.10.0 and run npm --registry https://registry.npmmirror.com install --build-from-source, but compilation error occurs:

src/staleness.ts:24:13 - error TS7006: Parameter 'line' implicitly has an 'any' type.

24       .map((line) => line.trim())
               ~~~~

src/staleness.ts:25:16 - error TS7006: Parameter 'line' implicitly has an 'any' type.

25       .filter((line) => line.length > 0);
                  ~~~~


Found 193 errors in 45 files.

Errors  Files
     8  src/__tests__/config-schema.test.ts:1
     3  src/__tests__/domain-persistence.test.ts:2
     4  src/__tests__/domain-types.test.ts:89
     1  src/__tests__/fingerprint.test.ts:18
     3  src/__tests__/ignore-filter.test.ts:3
     3  src/__tests__/ignore-generator.test.ts:3
    58  src/__tests__/schema.test.ts:77
     1  src/__tests__/staleness.test.ts:9
     2  src/analyzer/graph-builder.test.ts:342
     2  src/analyzer/graph-builder.ts:304
     1  src/change-classifier.ts:1
     2  src/figma/__tests__/api-source.test.ts:4
     3  src/figma/__tests__/merge.test.ts:27
     2  src/figma/source/api-source.ts
...
     3  src/search.ts:1
     3  src/staleness.ts:1
/home/wesley/Work/projects/Understand-Anything/understand-anything-plugin/packages/core:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @understand-anything/core@0.1.0 build: `tsc`
Exit status 2
 WARN   Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! code 2
npm ERR! path /home/wesley/Work/projects/Understand-Anything
npm ERR! command failed
npm ERR! command sh -c pnpm --filter @understand-anything/core build

npm ERR! A complete log of this run can be found in: /home/wesley/.npm/_logs/2026-09-04T02_12_24_824Z-debug-0.log

I change nodejs to v24.20.0, same error happens. I know little about TS, what should I do to fix this issue and what is the correct way to immigrate UA?

my target machine is arm64 debian, thanks!

2026-09-04T02_12_24_824Z-debug-0.log

What have you already tried?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions