Xiao (Bill) Li

Results 9 comments of Xiao (Bill) Li

最简单的方法就是 string.replaceAll()了吧 ```typescript const stringReplace = (template: string, obj: { [k: string]: string }) => { const keys = Object.keys(obj) keys.forEach(k => { template = template.replaceAll(`{{${k}}}`, obj[k]) }) return template...

My temporary solution: > Following this guide: https://github.com/puppeteer/puppeteer/issues/6634#issuecomment-755430921 OR TLDR: add these to `package.json` file ``` "resolutions": { "puppeteer": "https://github.com/seanaye/puppeteer/releases/download/v5.5.0-apple-silicon/puppeteer-core-5.5.0-post.tgz" }, ```

From what I understand, that package is used for frontend automated test. If anyone who just wants to test and run the app, they shouldn't be blocked on this.

> > @gaecoli From memory, you use macOS yeah? > > > > > > If that's the case, then this ^^^ sounds like it'll be useful and we add...

> @square-li Any interest in creating a new page [on the wiki](https://github.com/getredash/redash/wiki) with instructions for macOS users trying to get a dev environment set up? 😄 For sure. I would...

+1 also having this issue with 4.0. Thanks!

网页版的也有这个问题。

解决方案: 发送request前,加上 `'User-Agent': 'curl/7.54.0' ` 的header 即可。

Run `git update-index --assume-unchanged apps/core/.cognito/db/us-west-2_h23TJjQR9.json` before staging the change can fix it. I tried adding them to `.gitignore` but it doesn't work.