pomelo icon indicating copy to clipboard operation
pomelo copied to clipboard

2.2.6执行报错,pomelo格式不对

Open sss316 opened this issue 5 years ago • 7 comments

先cd /root/node-v6.11.3-linux-x64/lib/node_modules/pomelo/bin

2.2.5格式是: file ./pomelo ./pomelo: Pascal source, ASCII text

2.2.6格式是: file ./pomelo ./pomelo: a /usr/bin/env node\015 script, ASCII text executable, with CRLF line terminators 我执行新的,报错 No such file or directory

新版本为啥要改文件格式呢

sss316 avatar Aug 24 '19 02:08 sss316

直接通过npm源,别用阿里源。阿里源有时有这个问题

shudingbo avatar Aug 24 '19 16:08 shudingbo

我的是直接npm安装的

sss316 avatar Aug 25 '19 04:08 sss316

服务器也是腾讯的服务器,centos 最新版64位

sss316 avatar Aug 25 '19 04:08 sss316

Nall你可以用sex-pomelo试一试。 https://github.com/sex-pomelo/sex-pomelo

shudingbo avatar Aug 25 '19 04:08 shudingbo

node版本更新到8.11.2就好,已解决!

sss316 avatar Aug 27 '19 01:08 sss316

请问如果node更新到10.15.0,你们有没有遇到pomelo stop 报错?

chenmo20074639 avatar Aug 29 '19 06:08 chenmo20074639

这个问题需要把pomelo文件格式改成LF。默认是CRLF只支持Windows。

lolieatapple avatar Oct 21 '22 03:10 lolieatapple