03 2022 档案

摘要:本机npm版本是14,运行npm install yarn@latest -g,成功安装了yarn@1.22.17,无法再向上升级 运行npm install -g yarn@berry,成功升级到了 yarn@2.4.3版本。 如何安装yarn3呢?安装以下步骤 npm i -g corepack 阅读全文
posted @ 2022-03-15 13:33 伊娜陈 阅读(1291) 评论(0) 推荐(1) 编辑
摘要:一、安装 wsl wsl --install -d Ubuntu 具体其它内容,可以参考 wsl 的使用方法: 用法: wsl.exe [Argument] [Options...] [CommandLine] 运行 Linux 二进制文件的参数: 如果未提供命令行,wsl.exe 将启动默认 sh 阅读全文
posted @ 2022-03-11 15:59 伊娜陈 阅读(763) 评论(0) 推荐(0) 编辑
摘要:index.ts import Apify from 'apify' Apify.main(async () => { const requestQueue = await Apify.openRequestQueue(); await requestQueue.addRequest({ url: 阅读全文
posted @ 2022-03-10 10:22 伊娜陈 阅读(419) 评论(0) 推荐(0) 编辑