Skip to content

install with a rootpath is not working #68

Description

@kriszyp

Bug Summary

node dist/bin/harper.js install --ROOTPATH /somepath does not install, returns error

Reproduction Repository (if applicable)

No response

Steps to Reproduce

node dist/bin/harper.js install --ROOTPATH=/tmp/somepath

Expected Behavior

Installs Harper in indicated directory. Or does not install. Because why do we even have separate install script when installation is automatic?

Actual Behavior

Returns error.

Platform

No response

Console Errors

TypeError: Cannot read properties of undefined (reading 'system')
    at getTable (/home/kzyp/dev/harper/dataLayer/harperBridge/ResourceBridge.ts:590:31)
    at ResourceBridge.searchByValue (/home/kzyp/dev/harper/dataLayer/harperBridge/ResourceBridge.ts:393:17)
    at searchByValue (/home/kzyp/dev/harper/dataLayer/search.js:34:40)
    at getAllHdbInfoRecords (/home/kzyp/dev/harper/dataLayer/hdbInfoController.js:115:34)
    at getLatestHdbInfoRecord (/home/kzyp/dev/harper/dataLayer/hdbInfoController.js:131:26)
    at Object.getVersionUpdateInfo (/home/kzyp/dev/harper/dataLayer/hdbInfoController.js:168:34)
    at checkForExistingInstall (/home/kzyp/dev/harper/utility/install/installer.js:401:46)
    at async Object.install (/home/kzyp/dev/harper/utility/install/installer.js:124:2)
    at async install (/home/kzyp/dev/harper/bin/install.js:8:3)
There was an error during the install.
TypeError: Cannot use 'in' operator to search for 'hdb_info' in undefined
    at checkIfInstallIsSupported (/home/kzyp/dev/harper/dataLayer/hdbInfoController.js:240:18)
    at Object.getVersionUpdateInfo (/home/kzyp/dev/harper/dataLayer/hdbInfoController.js:202:3)
    at async checkForExistingInstall (/home/kzyp/dev/harper/utility/install/installer.js:401:22)
    at async Object.install (/home/kzyp/dev/harper/utility/install/installer.js:124:2)
    at async install (/home/kzyp/dev/harper/bin/install.js:8:3)

Screenshots or Videos

No response

Additional Context

Completely removing harper install is a perfectly valid resolution. I don't see any value in keeping this command.

Are you planning to fix this issue?

No, just reporting the issue

First-time contributor support

  • I'm new to contributing and would appreciate guidance on the process
  • I'd like help understanding the project structure
  • I need assistance with setting up the development environment
  • I'm comfortable contributing, but new to this project specifically

Activity

  1. Ethan-Arrowood commented on Jan 12, 2026

    @Ethan-Arrowood
    Member

    Completely removing harper install is a perfectly valid resolution.

    You don't have to ask me twice to delete code 😄

  2. added this to the v5.1 milestone on May 21, 2026
  3. modified the milestones: v5.1, v5.3 on Jul 23, 2026
  4. added theissue type on Aug 7, 2026
  5. modified the milestones: v5.3, v5.4 on Oct 10, 2026
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

    bugSomething isn't working

    Type

    Fields

    Priority

    P3

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions