node.js - 已安装 npm 但找不到命令
问题描述
我正在 Linux Mint 上安装以下软件包
https://github.com/frida/frida-compile
我尝试安装它
~ $ sudo npm install frida-compile
npm WARN saveError ENOENT: no such file or directory, open '/home/david/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/david/package.json'
npm WARN david No description
npm WARN david No repository field.
npm WARN david No README data
npm WARN david No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ frida-compile@5.3.7
updated 1 package in 2.883s
[!] 2 vulnerabilities found [21344 packages audited]
Severity: 2 Low
Run `npm audit` for more detail
当我frida-compile
在命令行上运行时,我得到
frida-compile: command not found
知道这里有什么问题吗?
我正在运行节点 8.11.1
解决方案
推荐阅读
- javascript - 当它是一个对象数组时如何设置状态
- c# - 删除 ASP.NET Webforms 中用户控件的输出缓存
- c++ - 静态自由函数是线程安全的吗?
- flutter - 如何使用 StateNotifierProvider 中的 StreamProvider?
- c# - 线程无一例外地被杀死
- linux - Address already in use error binding UDP socket after socket closed
- android - 如何防止 BiometricPrompt 在三星设备上打开黑屏窗口?
- karate - 空手道 - 如何从 Json 响应中提取并用作大纲场景中的数据驱动数据
- python - 将文本添加到彩色输入文本框 pygame
- javascript - 了解记忆的斐波那契函数