已安装npm但未找到命令

时间:2018-05-11 19:58:03

标签: node.js npm npm-install node-modules

我在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

知道这里的问题是什么吗?

我正在运行Node 8.11.1

0 个答案:

没有答案