简体   繁体   English

无法启动节点红色

[英]Cant start Node-red

I've tried to install Node-red on Sierra. 我尝试在Sierra上安装Node-red。 Used brew to install node and Npm. 使用brew安装节点和Npm。 Then I just followed the instructions on Node-red , but for some reason I can't run Node-red to start it up. 然后,我只是按照Node-red上的说明进行操作,但是由于某种原因,我无法运行Node-red来启动它。 I get error message "command not found" ... I've googled like a maniac, without results. 我收到错误消息“找不到命令” ...我像疯子一样用Google搜索,没有结果。

What can I do? 我能做什么?

Info: 信息:
Osx Sierra 10.13.xx Osx塞拉利昂10.13.xx
Node Version 9.11.1 节点版本9.11.1
Npm Version 5.6.0 Npm版本5.6.0

Brew doctor comes out clean. 酿酒医生出来干净。
Brew is updated. Brew已更新。

It sounds like the directory that npm links the executables provided by node modules is not on your path. 听起来npm链接由节点模块提供的可执行文件的目录不在您的路径上。

Try running $(npm get prefix)/bin/node-red in a terminal. 尝试在终端中运行$(npm get prefix)/bin/node-red If that works, you should add the directory returned by echo $(npm get prefix)/bin/ to your path. 如果可行,则应将echo $(npm get prefix)/bin/返回的目录添加到路径。

See also: https://superuser.com/questions/1081769/after-npm-install-g-command-still-not-found 另请参阅: https : //superuser.com/questions/1081769/after-npm-install-g-command-still-not-found

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM