npm instoll时报错Error: Cannot find module ‘’npm版本都符合要求
[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;
^