environment:windows10 node v20.10.0
description:If you run lint-staged without global installation of prettiered, an error message is reported and the output error message from the console is garbled
package.json
"devDependencies": {
"lint-staged": "^15.2.0",
},
"lint-staged": {
"src/routes/*.{ts,tsx,js,jsx}": [
"yarn prettiered"
]
}
The following error message is displayed: 'prettier' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���
I hope we can find out the reason for the garbled code.