懂Node.js的大佬进 , 酬谢!(已解决)
本帖最后由 hwang 于 2019-2-25 22:44 编辑https://github.com/ruffrey/mailsac
另收一个开了25端口的vu号, 低配额就行, 想建个临时邮箱玩玩
藤宫武藏 发表于 2019-2-25 22:32
我看到楼主的帖子 专门注册个账号上来
你的node是什么版本啊 是不是4.x或者6.x 能不能升级到8.x再试试...
感谢大佬支持, 有两个问题, 一个问题是NODE_DEV的值, 或者说是node-config的设置问题, 需要在./config下新建一个production.json,内容为"{}", 另外一个就是你说的node的版本问题, 升到0.12, 目前已经自行解决了
zhangnew 发表于 2019-2-25 18:27
遇到什么报错
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 25 Feb 2019 12:22:37 GMT mailsac master 23659
Mon, 25 Feb 2019 12:22:37 GMT mailsac forked worker 23668
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 25 Feb 2019 12:22:38 GMT mailsac ------ Mailsac Worker Start ------ production 23668
Mon, 25 Feb 2019 12:22:38 GMT mailsac PROCESS UNCAUGHT EXCEPTION /opt/mailsac/node_modules/mailparser/node_modules/uue/uue.js:184
matches.forEach(nextMatch => {
^^
Unexpected token => /opt/mailsac/node_modules/mailparser/node_modules/uue/uue.js:184
matches.forEach(nextMatch => {
^^
SyntaxError: Unexpected token =>
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/opt/mailsac/node_modules/mailparser/lib/streams.js:8:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Mon, 25 Feb 2019 12:22:39 GMT mailsac worker DIED 23668 0
WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode github里不是有说明么
wget https://raw.githubusercontent.com/ruffrey/mailsac/master/install/ubuntu-1404.sh
sudo sh ubuntu-1404.sh
勇气 发表于 2019-2-25 18:23
github里不是有说明么
wget https://raw.githubusercontent.com/ruffrey/mailsac/master/install/ubuntu-1 ...
就是一键安装不成功, 这才救助大佬 感觉这个 readme 足够详细了 遇到什么报错 给个小鸡,我也玩玩看
联通 发表于 2019-2-25 19:11
给个小鸡,我也玩玩看
大佬懂? 懂的话我私信你小鸡 git clone 下来,用后面的部署
页:
[1]
2