2020年8月2日

TypeError: Object of type 'date' is not JSON serializable

摘要: class DateEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, datetime.datetime): return obj.strftime('%Y-%m-%d %H:%M:%S') elif isin 阅读全文

posted @ 2020-08-02 17:06 Alex0111 阅读(1130) 评论(0) 推荐(0) 编辑

vue ESLint报No ESLint configuration found

摘要: 安装eslint npm init -y npm install eslint --save-dev ./node_modules/.bin/eslint --init 初始化配置文件 阅读全文

posted @ 2020-08-02 08:21 Alex0111 阅读(3295) 评论(0) 推荐(0) 编辑

【NPM】npm ERR! Unexpected end of JSON input while parsing near

摘要: npm cache clean --force 阅读全文

posted @ 2020-08-02 07:57 Alex0111 阅读(125) 评论(0) 推荐(0) 编辑

导航