[root@8 node-v9.8.0-linux-x64]# npm -v
v9.8.0
[root@8 node-v9.8.0-linux-x64]# node -v
v9.8.0
报错代码如下
[root@8 elasticsearch-head-master]# npm instoll
module.js:545
throw err;
^
Error: Cannot find module '/home/software-ES/elasticsearch-head-master/instoll'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Function.Module.runMain (module.js:690:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:666:3
[root@8 elasticsearch-head-master]# npm install
module.js:545
throw err;
^
并不清楚你的具体情况,你可以参考一下github上面的官方实例,如下图所示,顺便把网址也附上,希望有帮助。https://github.com/mobz/elasticsearch-head
instoll是什么?还是说你想要写的是install