Closed ckhatton-transreport closed 1 year ago
Check yarn info caniuse-lite --json
output. The error happens because yarn
outputs incorrect JSON.
Ar, I didn't realise browserslist is local, not global. Yeah the related project repo uses yarn.
I have put the output through an online JSON checker, and it reports nothing is wrong with it.
🤷
Oh weird, running npx browserslist@latest --update-db
again has worked successfully, with warnings, but it worked.
✦ ❯ npx browserslist@latest --update-db
Latest version: 1.0.30001466
Installed version: 1.0.30001323
Removing old caniuse-lite from lock file
Installing new caniuse-lite version
Thank you for the help and jumping onto the issue ticket quick.
I've simply run
npx browserslist@latest --update-db
and got the error:Maybe an additional curly brace has been added to the latest build by mistake?