当我在Linux终端上运行没有sudo的节点时,我得到了一个node command not found error。运行sudo node可以完美地工作。npm命令也可以很好地工作。我最近从Ubuntu 18.04升级到了20.04。升级后,我找不到node,所以我不得不在Ubuntu上用snap重新安装它。
stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23System Linux 4.4.0-21-generic
gyp ERR!command "/usr/bin/nodejs" "/usr/lib/
我正在尝试将我的lambda函数的nodeJS版本从升级到v16。这些功能是通过没有服务器的方式部署的,应用程序包含在坞映像中。
我的函数是使用GRPC库,升级后运行该函数时会弹出下面的错误。-linux-x64-glibc\nFound: [node-v72-linux-x64-glibc]\nThis problem can often be fixed by running \"npm/node/extension_binary/no