天明博客总经理的头像-天明的博客
天明博客总经理管理员超级版主
这家伙很懒,什么都没有写...
ubuntu添加虚拟内存-天明的博客

ubuntu添加虚拟内存

假设我们希望创建一个4GB的交换空间: sudo fallocate -l 4G /swapfile 设置权限: sudo chmod 600 /swapfile 配置交换空间: sudo mkswap /swapfile 验证交换空间: sudo swapon /swapfile 这...
剪贴板安装小记-天明的博客

剪贴板安装小记

需要安装以下模块djangorestframeworkDjangodjango-cors-headersnumpyjsonschema数据库migratepip install djangopython3 manage.py migratepip install djangorestframeworkpip install corshe...
2个月前
0616
vuepress组件-天明的博客

vuepress组件

一src/.vuepress/components/MyComponent.vue<template> <link href='/css/codemirror.css' rel='stylesheet' /> <link href='/css/prolog.css' rel='stylesheet' /> <div...
内存不够打包失败 Reached heap limit Allocation failed - JavaScript heap out of memory-天明的博客

内存不够打包失败 Reached heap limit Allocation failed – JavaScript heap out of memory

前端打包,内存不够,打包失败。解决办法:1、npm install -g increase-memory-limit2、npm install -g cross-env3、然后还需要把所有node_modules bin 下面的.cmd文件里的 “%_prog% ”改成 %_...
安装yarn-天明的博客

安装yarn

安装nodejs1、curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -2、sudo apt-get install -y nodejs正式安装yarncurl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo ap...
5个月前
07412