在BootstrapValidator中已默认遵守Bootstrap规则,form里的每个输入项目必需包含在类为form-group的标签里,否则BootstrapValidator中定义的fields将无法找到,以至于出现too much recursion错误. 自从使用了BootstrapValidator之后,感觉非常漂亮,但却引发了很多个bug,too much recursion就是其中一种. 这样的写法对于BootstrapValidator是不符合规则的,虽然这样的写法看起并没有…
Mac 下使用brew install 报错: localhost:infer-osx-v0.6.0 admin$ sudo brew install opam Error: Cowardly refusing to `sudo brew install' You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and c…
先出现的是超过最大调用栈问题: npm ERR! Maximum call stack size exceeded 百度之后说给npm降级或者升级 降级 : npm install -g npm@5.4.0 升级 : npm install -g npm 升级到最新版 结果降级之后再尝试的时候就直接报版本跟node.js不兼容的问题,然后各种在升级都不好使,只能重新删掉在升级. You are likely using a version of node-tar or npm that is…