
报错处理
奥巴犇
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
npm ERR! Please check if you have git installed and in your PATH.
在npm install 的时候报错,是因为安装git没有把其安装到环境变量path中。原创 2017-10-11 11:44:47 · 5930 阅读 · 0 评论 -
Error: read ECONNRESET at exports._errnoException (util.js:1020:11) at TCP.onread (net.js:56
Error: read ECONNRESET at exports._errnoException (util.js:1020:11) at TCP.onread (net.js:568:26) 如果出现这个报错, 1.重启电脑即可; 2.查看自己的网络有没有问题...原创 2017-10-13 14:58:32 · 8180 阅读 · 1 评论 -
jsonp 请求报错Uncaught SyntaxError: Unexpected token :
在有次开发中,需要跨域请求数据,后端给的接口是 XXXX.XXXX_参数_callBack.html 我这边的请求是 $.ajax({ type: "GET", dataType: "jsonp", jsonpCallback:'callBack', url: "XXXX_" + 参数+"_.html" , success: function(dat...原创 2018-04-25 11:41:57 · 1753 阅读 · 0 评论 -
sass安装失败 npm ERR! Failed at the [email protected] postinstall script. npm ERR!
npm ERR! Failed at the [email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. sass安装失败 执行npm install sass-loader node...原创 2018-08-26 17:53:33 · 9370 阅读 · 0 评论 -
使用jsonp时,network发送了请求(200),但是控制台报超时的错
node的jsonp地址为jsonp 使用时有几点注意: 1.数据返回须为jsonp格式 2.option中须设置name为jsonp文件名 //jsonp 请求,注意name的值,须为jsonp的名字 jsonp( "http://XXXXXX.com/api/jsonp/XXX.jsonp", { name: "XXXcallback", ...原创 2018-08-22 20:57:09 · 2174 阅读 · 0 评论