Riact! In [II.React Basics]
$ yarn add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin \
eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-import \
eslint-plugin-jsx-ally eslint-config-airbnb
I entered
error /.../hello-world/node_modules/eslint-plugin-jsx-ally: Command failed.
Exit code: 1
Command: node ./postinstall.js
Arguments:
Directory: /.../hello-world/node_modules/eslint-plugin-jsx-ally
Output:
/.../hello-world/node_modules/eslint-plugin-jsx-ally/postinstall.js:1
throw new Error('This is the wrong package! Please install eslint-plugin-jsx-a11y')
I got the error
It was a typo! The "a11y" in "eslint-plugin-jsx-a11y" was the number 11 instead of the lowercase letter L!
It's embarassing. .. ..
Besides, Riakuto! On the page just before [II.React Basics]
$ yarn eslint --init
I got an error, and after investigating various things to solve it, Mr. Shibasaki said in the next conversation, "Even if the command ends with an error, you do not have to worry about it for the time being." It was. It's embarassing. .. ..