Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

订单提交失败 #11

Open
bumblebeehub opened this issue Jan 14, 2018 · 18 comments
Open

订单提交失败 #11

bumblebeehub opened this issue Jan 14, 2018 · 18 comments

Comments

@bumblebeehub
Copy link

如下,订单提交失败

000278硬座:- 无座:- 硬卧:- 软卧:- 二等座:有 一等座:有
000279发现有票车: G673 二等座 有 准备提交中...
000280提交失败 [object Object]
000281停止查询
00028201-14 查询成人票..
00028301-14 G673:预订
000284硬座:- 无座:- 硬卧:- 软卧:- 二等座:有 一等座:有
000285发现有票车: G673 二等座 有 准备提交中...
000286提交失败 [object Object]

@bumblebeehub
Copy link
Author

以及,自动识别验证码怎么用啊?我左边登录验证码提示我登陆成功,但是右边一直没有出现订单验证码

@kongyong16
Copy link

000011无需输入验证码,自动提交订单...
000012余票: 482张 无座: 270张 排队人数: 0
000013提交订单成功,耗时: 0.499s,请点击 查看订单 前往12306完成付款。

但是订单显示需要排队30分钟,试了好多次都不行,按照正常买票却可以

@bumblebeehub
Copy link
Author

啊?为啥我直接提交失败啊?你用自动识别验证码了吗?怎么用的可以教教我吗?

@bumblebeehub
Copy link
Author

手动点击验证码显示登陆成功,但是一刷新就说自动识别验证码失败
000263登陆成功
000264请输入验证码
000265获取自动识别验证码失败 undefined
000266获取自动识别验证码失败 undefined
000267获取自动识别验证码失败 undefined
000268获取自动识别验证码失败 undefined
000269获取自动识别验证码失败 undefined
000270获取自动识别验证码失败 undefined

@kongyong16
Copy link

我发现用不用自动识别效果是一样的

最后未完成订单页面显示:

未出票,订单排队中...
最新预估等待时间大于30分钟,请耐心等待

@bumblebeehub
Copy link
Author

我用不用自动识别订单都是提交失败。。。

@kongyong16
Copy link

我勾选了验证码自动识别 ,也注册了百度云,新建了一个appId: appKey: appSecret: 码。但是还是不行,不知道你有没有安装node-v9.4.0-x64软件,我安装后
npm install之后运行:npm start都运行出错,我不知道是不是这个原因

@bumblebeehub
Copy link
Author

我也是注册百度云,但持续订单提交失败。你说的第二个npm start报错的问题,我不知道你出现的错误是不是跟我一样,我是因为node-sass出错,npm remove node-sass之后重新install,再start就不会报错了。现在就是等大佬来解答我了,不知道是哪步错了

@kongyong16
Copy link

我用node -v 和npm检测安装没有问题。但是直接运行npm start就会出现
C:\Users\23494>cd C:\Program Files\nodejs

C:\Program Files\nodejs>npm start
npm ERR! path C:\Program Files\nodejs\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Program Files\nodejs\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\23494\AppData\Roaming\npm-cache_logs\2018-01-14T05_52_18_945Z-debug.log

@kongyong16
Copy link

运行npm install也出错

C:\Program Files\nodejs>npm install
npm WARN enoent ENOENT: no such file or directory, open 'C:\Program Files\nodejs\package.json'
npm WARN nodejs No description
npm WARN nodejs No repository field.
npm WARN nodejs No README data
npm WARN nodejs No license field.

npm ERR! path C:\Program Files\nodejs\node_modules.staging
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall mkdir
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging'
npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules.staging'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\Program Files\nodejs\node_modules\.staging' },
npm ERR! stack: 'Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.staging'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\Program Files\nodejs\node_modules\.staging' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\23494\AppData\Roaming\npm-cache_logs\2018-01-14T05_54_42_372Z-debug.log

@feix760
Copy link
Owner

feix760 commented Jan 14, 2018

C:\Program Files\nodejs>npm install
@kongyong16 运行npm install的目录不对

@feix760
Copy link
Owner

feix760 commented Jan 14, 2018

但是订单显示需要排队30分钟,试了好多次都不行,按照正常买票却可以
@kongyong16 订单已经提交成功排队时间就和这个插件就无关了,正常的都需要排队,又在在XX:00 XX:30这些时间段排队时间最长

@kongyong16
Copy link

您好,目录是这个对吧C:\Users\23494\AppData\Roaming\npm>npm install,但是npm start的目录也是这个嘛?本人程序小白,不太懂

@feix760
Copy link
Owner

feix760 commented Jan 14, 2018

在这个项目代码的目录下 运行命令

@kongyong16
Copy link

C:\Users\23494>npm -v
5.6.0
C:\Users\23494>node -v
v9.4.0

C:\Users\23494\AppData\Roaming\npm
C:\Program Files\nodejs
C:\Program Files\nodejs\node_modules\npm
C:\Users\23494>
正确的npm install和npm install目录应该是哪一个啊

@feix760
Copy link
Owner

feix760 commented Jan 15, 2018

C:\Users\23494 @kongyong16

@kongyong16
Copy link

C:\Users\23494>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\23494\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\23494\package.json'
npm WARN 23494 No description
npm WARN 23494 No repository field.
npm WARN 23494 No README data
npm WARN 23494 No license field.

C:\Users\23494>npm start
npm ERR! path C:\Users\23494\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\23494\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program_logs\2018-01-15T02_48_15_245Z-debug.log

@Corbusier
Copy link

需要配置python环境变量,以及安装node-sass sass-loader。
最后抢倒是抢到了,就是排队30分钟以上...这还是拿余票充足(>200张),最近日期的情况下试验的结果

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants