Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
476 views
in Technique[技术] by (71.8m points)

supervisor 监听 nodejs 不成功。

安装supervisor时没有出错,应该是成功的吧。
监听idnex不成功,也没有报错信息。
查找npm安装的模块,也没有找到supervisor。
是什么原因呢?
终端截图

尝试使用 npm link,把安装在全局的supervisor链接到项目中,还是有问题
终端截图


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

觉得自己也是蠢,其实在全局安装的模块,不用link到项目中,而且在项目中执行 npm ls 查不到是正常的。

我之前是用apt-get安装的nodejs,版本很旧,重新用源码安装,就不会有这个问题了

总之,这是一个没意义的问题。感谢楼上的回答


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...