Atom 执行错误 - /usr/bin/env: 'node': No such file or directory

时间:2021-02-25 12:28:16

标签: javascript node.js bash npm filesystems

我是使用 Atom 编码的新手,并且在尝试执行 Javascript 代码时一直遇到相同的错误消息。

bash: line 1: node: command not found /usr/bin/env: ‘node’: No such file or directory

我环顾四周,但其他人建议的所有解决方案都不适合我。非常感谢任何帮助!

编辑 - 完整的错误消息如下所示:

[Command: bash -c ''/home/jacob/.var/app/io.atom.Atom/data/packages/script/node_modules/.bin/babel' --filename '/home/jacob/code/new.js' --config-file /home/jacob/.var/app/io.atom.Atom/data/packages/script/lib/grammars/babel.config.js < '/home/jacob/code/new.js'| node'] bash: line 1: node: command not found /usr/bin/env: ‘node’: No such file or directory

0 个答案:

没有答案