0

我编写了一个 nodejs 应用程序并想在 android 上运行它。我使用 termux 安装 nodejs。

我的设备已植根。

当我输入命令

tsudo npm install

发生以下错误。

ERR! path ../json/libcli.js
ERR! code ENOSYS
ERR! errno -38
ERR! ENOSYS: function not implemented, symlink '../json5/lib/cli.js' -> 'storage/emulated/0/Download/Iot-blockchain-Std/node_modules/.bin/json5'

如何解决这个问题?

4

1 回答 1

0

我通过将文件夹移动到 termux 的主目录解决了这个问题。更多详情请参考 https://android.stackexchange.com/questions/134885/error-function-not-implemented-when-creating-symbolic-link

于 2019-03-18T11:30:39.037 回答