Skip to content

view-image package crashes Mark Text #2120

Closed

Description

@fxha

Description

@Jocs view-image crashes Mark Text when updating a package that include TypeScript and rebuild the binary. I guess it's just a compatibility issue with TypeScript. It would be great if you could solve the problem. The issue should occur when you update the packages in #2119.

Stack Trace:

Uncaught Error: Cannot find module 'tslib'
Require stack:
- ./build/linux-unpacked/resources/app.asar/node_modules/view-image/index.js
- ./build/linux-unpacked/resources/app.asar/dist/electron/index.html
    at Module._resolveFilename (internal/modules/cjs/loader.js:798)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (reset-search-paths.ts:40)
    at Module._load (internal/modules/cjs/loader.js:691)
    at Module._load (electron/js2c/asar.js:717)
    at Function.Module._load (electron/js2c/asar.js:717)
    at Module.require (internal/modules/cjs/loader.js:853)
    at require (internal/modules/cjs/helpers.js:74)
    at ./build/linux-unpacked/resources/app.asar/node_modules/view-image/index.js:2
    at Object.<anonymous> (./build/linux-unpacked/resources/app.asar/node_modules/view-image/index.js:5)
    at Object.<anonymous> (./build/linux-unpacked/resources/app.asar/node_modules/view-image/index.js:714)

Steps to reproduce

  1. Update vega, vega-embed and/or vega-lite to latest version
  2. Build Mark Text binaries
  3. Try to launch Mark Text

Versions

  • Mark Text: develop
  • Operating system: Linux

Activity

  1. added
    🐛 bug
    🐟 blocked/upstream
    on May 17, 2020
  2. Jocs commented on May 18, 2026

    @Jocs
    Member

    The view-image package has been completely removed from the codebase — it no longer appears in package.json or anywhere in src/. This issue is no longer applicable. Closing as fixed.

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

    🐛 bug🐟 blocked/upstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions