mikej
2017-07-12 10:46:41 +08:00
求问下,修改监听端口咋报错了,我带上了端口参数啊?
net.js:1479
throw new Error('Invalid listen argument: ' + util.inspect(options));
^
Error: Invalid listen argument: { port: true }
at Server.listen (net.js:1479:9)
at Object.<anonymous> (/da2/server/nav_page/node_modules/pagic/bin/pagic-build.js:32:5)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! 123@0.0.0 start: `pagic build -ws -p 8001`