![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
zzzmj_
NYOJ主页
https://acm.nyist.edu.cn/JudgeOnline/profile.php?userid=Leida_%E6%9C%B1%E6%A8%A1%E5%81%A5
展开
-
Parsing error: Unexpected token =
使用proTypes时,ESlint报错Parsing error: Unexpected token =注意proTypes第一个字母p要小写static proTypes = { onSubmit: ProTypes.func}原因:开发环境与ESLint当前的解析功能不兼容解决方案:使用babel-eslint解析安装babel-eslintnpm install...原创 2019-02-02 23:44:09 · 39141 阅读 · 4 评论 -
安装 puppeteer 因墙的原因失败,解决方案
因为当你安装 Puppeteer 时,它会下载最新版本的Chromium, 下载这个需要翻墙因此要跳过这个下载,然后手动去安装。但真的很麻烦。运行下面的命令,跳过chromium的安装env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn add puppeteer安装好后,然后去node_modules下找到 pupptter,查看package....原创 2019-03-16 17:47:38 · 3233 阅读 · 0 评论