Skip to content

Our Node app is frequently getting killed with an npm error #68

@kanirajan2530

Description

@kanirajan2530

Description

I encountered an unhandled rejection error in our project, which resulted in Node being terminated. This issue seems to be related to an npm error.

Error Details

abort(ReferenceError: count is not defined) at Error
at jsStackTrace (D:\Practice\node_modules\fonteditor-core\woff2\woff2.js:8:22498)
at stackTrace (D:\Practice\node_modules\fonteditor-core\woff2\woff2.js:8:22669)
at process.abort (D:\Practice\node_modules\fonteditor-core\woff2\woff2.js:8:18310)
at process.emit (node:events:514:28)
at emit (node:internal/process/promises:149:20)
at processPromiseRejections (node:internal/process/promises:283:27)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(Use node --trace-uncaught ... to show where the exception was thrown)

Node.js v18.17.0

Actual Behaviour

When using the fonteditor-core npm package to decode a WOFF2 font and handle specific Unicode characters, any errors encountered should not terminate the Node.js process. Currently, there is an issue where unhandled rejection errors are causing unexpected behaviour.

Environment

  • Node version: v18.17.0
  • Npm version: 9.6.7

Additional Information

Seems like an issue with woff2.js

fonteditor-core error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions