KEMBAR78
Unable to build xterm-addon-image : Can't resolve 'common/Lifecycle' · Issue #4802 · xtermjs/xterm.js · GitHub
Skip to content

Unable to build xterm-addon-image : Can't resolve 'common/Lifecycle' #4802

@guimard

Description

@guimard

Details

  • OS version: Debian testing
  • xterm.js version: 5.3.0

Steps to reproduce

  1. yarn install
  2. npm run install-addons
  3. npm run build
  4. cd addons/xterm-addon-image
  5. npm run package

This produces an error:

ERROR in ./out/ImageRenderer.js 9:20-47
Module not found: Error: Can't resolve 'common/Lifecycle' in '/home/yadd/dev/debian/src/pkg-js/packages/node-xterm/addons/xterm-addon-image/out'
resolve 'common/Lifecycle' in '/home/yadd/dev/debian/src/pkg-js/packages/node-xterm/addons/xterm-addon-image/out'

node_modules/common is installed with the good version (0.2.5) and doesn't export any common/Lifecycle

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedtype/debtTechnical debt that could slow us down in the long run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions