
项目奇葩报错集
你在此地别动
认真记录,多回顾多总结,加油
展开
-
[vscode/node.js/vue报错]:npm ERR! 407 authenticationrequired - GET https://registry.npmjs.org/browsers
现象:修改电脑密码之后执行 npm install 失败报错: npm ERR! 407 authenticationrequired - GET https://registry.npmjs.org/browserslist 原因:密码修改之后node.js的代理也需要更新 解决: npm config get proxy npm config set proxy xxxxxxxxx npm config get https https-proxy npm config set https https-原创 2020-10-20 10:36:31 · 1472 阅读 · 0 评论 -
VUE+TypeScript报错:Error in v-on handler: xxx “TypeError:this is null
报错:VUE+TypeScript报错:Error in v-on handler: xxx "TypeError:this is null 描述:页面控件中的v-model绑定了值a以及:maxlength绑定值b,然后在ts代码里进行了初始化赋值666与长度限制3,页面刷新正常显示666且不可再输入更多字符,目前可以判断值绑定以及ts的引入是成功的。但当我通过按钮点击事件对this.a与this.bb重新赋值时却在控制台中不断报错提示我this 指针是个 null。 解决:ts的controller上没原创 2020-07-31 11:38:36 · 2499 阅读 · 0 评论