简体   繁体   English

当我尝试在tsutermux上安装tsudo npm时,发生错误代码enosys和err号38

[英]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.

相关问题 当我尝试使用 termux 在 Android 上安装 firebase 时,我该如何解决这个问题? - How can I fix this problem I'm getting when I try to install firebase on Android using termux? termux 应用程序上的“npm install node-session”。 然后我得到了这个错误。 如何在 termux 上安装 node-session? - "npm install node-session" on termux app. Then i got this error. How can i install node-session on termux? 尝试在sqlite android中选择时发生错误 - error occur when try to SELECT in sqlite android Termux - npm ERR:错误:EPERM,不允许操作,符号链接 - Termux - npm ERR! Error: EPERM: operation not permitted, symlink 使用 Termux (Android) 安装 pkg Huepy 时出错 - Error install pkg Huepy with Termux (Android) Android 错误:尝试在 termux 上安装 express - Android error: Trying to install express on termux 当我尝试在Android模拟器上运行Junit测试用例时,为什么会发生此错误? - Why does this error occur when I try to run a Junit test-case on the Android emulator? 当我尝试安装我的Android应用时清单错误 - Error in manifest when i try to install my android app 当我尝试创建谷歌地图时,会发生异常错误 - When i try to creat google map the exception error occur Android Mediaplayer错误代码(-38,0) - Android mediaplayer Error code (-38,0)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM