问题出在缺少less和less-loader  因为以上模块使用了less解析. 解决方法在dependencies添加 "less": "^2.7.1", "less-loader": "^2.2.3"…
写了一个html,用到了jQuery,发现没有按照预期的结果显示,最后定位到是$.get()函数没有运行 调试过程为: 在页面右击查看元素,到网络那一栏,找到类型为json的那个包点击,然后查看响应,发现如下错误 可见是由于我们的服务器端php脚本发生了错误,所以$.get()函数没有执行.这下,我们只要去解决php脚本的问题就可以了 Call to a member function bind_param() on boolean in.....这句话的意思就是在bind_param处发生了错…
解决方法, 在PHP.ini中开启短名…
错误提示: ./configure: error: the HTTP rewrite module requires the PCRE library.      yum install gcc gcc-c++ openssl_devel -y^C 安装pcre-devel与openssl-devel解决问题   yum -y install pcre-devel openssl openssl-devel   ./configure --prefix=/usr/local/nginx make…
参考:http://blog.51cto.com/williamx/958398 需要安装pcre-devel与openssl-devel yum -y install pcre-devel openssl openssl-devel…
好像是由于cnpm安装导致.执行下面的安装代码,或者使用npm 安装node-sass cnpm install node-sass@latest…
后台json字符串是 [{"name": "报销申请", "id": "start"}, {"name": "部门经理审批", "id": "departAudit"}, {"name": "总经理审批", "id": "bossAudit"}, {"name…
$.post('/ajax/validate.do',{"id": id},function(ret){ //ret }); 返回值明明是json,格式也是正确的,却解析不成功,在Google Chrome下报错——Uncaught SyntaxError: Unexpected token : http://stackoverflow.com/questions/3143698/uncaught-syntaxerror-unexpected-token 解决方法: $(functio…
jquery3.1.1报错Uncaught TypeError: a.indexOf is not a function 使用1.9就没有问题,解决办法: 就是把写的代码中: $(window).load(function(){...}); 换成: $(window).on('load', function(){ ...}); 原文链接:https://stackoverflow.com/questions/38871753/uncaught-typeerror-a-indexof-is-not…