[GH-ISSUE #217] npm error #156

Closed
opened 2026-03-02 11:47:10 +03:00 by kerem · 2 comments
Owner

Originally created by @mcking230 on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/217

Cant run application on Ubuntu 22.04.4

root@zm:/home/zm# hoarder
file:///usr/local/lib/node_modules/@hoarderapp/cli/dist/index.mjs:1226
    method: opts.methodOverride ?? METHOD[type],
                                 ^

SyntaxError: Unexpected token '?'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
    at async link (internal/modules/esm/module_job.js:42:21)
root@zm:/home/zm# 
Originally created by @mcking230 on GitHub (Jun 11, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/217 Cant run application on Ubuntu 22.04.4 ``` root@zm:/home/zm# hoarder file:///usr/local/lib/node_modules/@hoarderapp/cli/dist/index.mjs:1226 method: opts.methodOverride ?? METHOD[type], ^ SyntaxError: Unexpected token '?' at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18) at async link (internal/modules/esm/module_job.js:42:21) root@zm:/home/zm# ```
kerem closed this issue 2026-03-02 11:47:10 +03:00
Author
Owner

@kamtschatka commented on GitHub (Jun 11, 2024):

what is your node version? (node --version)
this is supported starting with nodejs 15.14+, so probably your version is too old.

<!-- gh-comment-id:2161341612 --> @kamtschatka commented on GitHub (Jun 11, 2024): what is your node version? (`node --version`) this is supported starting with nodejs 15.14+, so probably your version is too old.
Author
Owner

@mcking230 commented on GitHub (Jun 11, 2024):

Problem solved! Updated latest version manually, thanks!

<!-- gh-comment-id:2161345563 --> @mcking230 commented on GitHub (Jun 11, 2024): Problem solved! Updated latest version manually, thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#156
No description provided.