[英]error code enosys and err number 38 occur when I try tsudo npm install on termux in android
I write a nodejs application and want to run it on android. 我编写了一个nodejs应用程序,并希望在android上运行它。 I install nodejs using termux.
我使用termux安装nodejs。
My device is rooted. 我的设备已植根。
When I input command 当我输入命令
tsudo npm install
the following error occur. 发生以下错误。
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'
How to solved this problem? 如何解决这个问题?
I solved the problem by moving the folder to the home directory of termux. 我通过将文件夹移动到termux的主目录来解决了这个问题。 For more details, please refer to https://android.stackexchange.com/questions/134885/error-function-not-implemented-when-creating-symbolic-link
有关更多详细信息,请参阅https://android.stackexchange.com/questions/134885/error-function-not-implemented-when-creating-symbolic-link
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.