Менеджеры пакетов

Заменяем npm на pnpm

Заменяем npx на pnpm dlx

https://github.com/kriasoft/react-starter-kit/issues/1180#issuecomment-447109110

If you crawled through here from google and have absolute paths when importing resulting in eslint screaming at you NOT FOUND:

Use eslint-plugin-import:

// App.js
import { ComponentName } from 'components/ComponentName';
// .eslintrc.js
module.exports = {
  ...   
  "settings": {
    "import/resolver": {
      "node": {
        "paths": ["src"],
        "extensions": [".js", ".jsx", ".ts", ".tsx"]
      }
    },
  },
}
Last updated on 10th Feb 2023