- 博客(3)
- 收藏
- 关注
原创 React初学: Uncaught Error: createRoot(...): Target container is not a DOM element.
React初学: Uncaught Error: createRoot(...): Target container is not a DOM element.
2022-07-20 14:48:30 3269 1
原创 Django ORM使用问题小记
一、执行python manage.py makemigrations app时报错:“You are trying to add a non-nullable field 'name' to contact without a default; we can't do that (the database needs something to populate existing rows)"原因:新添加不允许为null、且没有设置defaul的字段时报错。合理,数据库内存量记录需要默认值填充该
2022-04-02 17:23:26 1775
原创 安装rubygem redis依赖时报错:Loading command: install (LoadError) cannot load such file -- zlib
在安装redis-trib.rb时需进行Ruby环境准备安装Ruby #在/usr/local目录下 wget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz tar xvf ruby-2.3.1.tar.gz cd ruby-2.3.1/ ./configure -prefix=/usr/local/ruby make make install #生成了/usr/local/ruby目录 cd ../ruby
2020-09-30 14:37:46 1354
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人