Ubuntu22.04静态ip配置
Ubuntu22.04静态ip配置 - 知乎 (zhihu.com)
network: renderer: NetworkManager ethernets: ens33: addresses: - 10.128.39.42/24 routes: - to: default via: 10.128.39.1 nameservers: addresses: - 114.114.114.114 version: 2
sudo netplan apply
yarn build后显示内存超限,变异失败
yarn build后显示内存超限,变异失败
更改package.json文件:加上NODE_OPTIONS=\"--max-old-space-size=1024000\"
如下:
"build": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=1024000\" vite build && esno ./build/script/postBuild.ts",