-
Notifications
You must be signed in to change notification settings - Fork 63
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
run puer script error #7
Comments
please try |
同样问题,nodejs version 7.5 |
同样问题 nodejs version 7.7.1 |
。。。你们把node版本降下来啊,现在生产环境,稳定版一般也就是6.9.x |
同样问题 nodejs version 7.9.0,这个项目是不维护了吗?不维护只能换别的了 |
@wq1308786830 前面都已经说过很多次了, 请切换到
|
@ufologist 不是啊, |
@ufologist 我查出来了,这个问题是因为你用的是过时的 |
@wq1308786830 因为我的项目是基于 puer 的, 需要让 puer 项目更新依赖才行, 目前 puer 依赖的是 process.EventEmitter is undefined in node 7 因此建议你 fork 出一个 puer 的版本出来, 修改下代码兼容到 |
@wq1308786830 ,你司运维上的是7.x? 我想想都牛逼啊。。。 |
@ufologist 这样啊,那我试试 |
http fetch GET 404 https://registry.npmjs.org/pure-mock debug日志报404错误,能否帮看一下,谢谢! |
@idream-xu 你使用的包名字错了, 应该是 |
@ufologist 目前就测试了GET和POST方法,请问为什么GET方法可以正常访问,而POST方法就会报错:404 not found,可否帮忙解答一下?谢谢 |
不知道具体是什么配置造成的, 请给出示例 |
你好,已经解决。需要给每个请求加上相应的OPTIONS请求。
|
遇到同样的问题。get请求没问题,post请求提示404,加了options也没用。 |
请给出示例吧 |
sorry,是我的锅!本地请求url端口应该和mock端口一致(8000),我就是不一致造成了请求404和跨域的问题。 |
when I run script, I get
Store.prototype.__proto__ = EventEmitter.prototype; Cannot read property 'prototype' of undefined
. my node.js version isv7.5
.The text was updated successfully, but these errors were encountered: