likun7981 / hlink

批量、快速硬链工具(The batch, fast hard link toolkit)
https://hlink.likun.me
MIT License
623 stars 56 forks source link

群晖运行出错 #106

Closed qlwz closed 1 year ago

qlwz commented 1 year ago

hlink --help file:///usr/local/lib/node_modules/hlink/node_modules/@hlink/core/lib/utils/paths.js:10 if (!(await checkPathExist(hlinkHomeDir))) { ^^^^^

SyntaxError: Unexpected reserved word at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)

likun7981 commented 1 year ago

node 版本过低,升级node版本尝试

AlexANSO commented 1 year ago

兄弟 要不然你就要升级node要不然就安装低版本的hlink npm i -g hlink@1.0.3

qlwz commented 1 year ago

使用低版本已经解决