hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
2.25k stars 74 forks source link

npm error #217

Closed mcking230 closed 2 weeks ago

mcking230 commented 2 weeks ago

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# 
kamtschatka commented 2 weeks ago

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

mcking230 commented 2 weeks ago

Problem solved! Updated latest version manually, thanks!