![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错处理
奥巴犇
这个作者很懒,什么都没留下…
展开
-
npm ERR! Please check if you have git installed and in your PATH.
在npm install 的时候报错,是因为安装git没有把其安装到环境变量path中。原创 2017-10-11 11:44:47 · 5871 阅读 · 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 · 8112 阅读 · 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 · 1530 阅读 · 0 评论 -
sass安装失败 npm ERR! Failed at the node-sass@4.9.3 postinstall script. npm ERR!
npm ERR! Failed at the node-sass@4.9.3 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 · 9299 阅读 · 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 · 2096 阅读 · 0 评论