error

    type is not assignable to type 'react-node’ 이슈

    type is not assignable to type 'react-node’ 이슈

    React18 issue React18 버전 이하에서 발생하는 이슈 type * or export * 라고 명시된 항목들로 인해 자동으로 React18이 반영되는 문제로 추측 package.json에 자신이 사용하고 있는 버전에 맞게 아래와 같이 명시해주면 됨 Yarn "resolutions": { "@types/react": "^17.0.43", "@types/react-dom": "^17.0.17", } npm "overrides": { "@types/react": "^17.0.43", "@types/react-dom": "^17.0.17", }

    Error [ERR_PACKAGE_PATH_NOT_EXPORTED]:

    Error code Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/rules/no-unused-expressions' is not defined by "exports" in /Users/seonghun-i/Desktop/cording/peri.dex/node_modules/eslint/package.json Referenced from: 발생 npm run start시 발생 원인 eslint 버전 문제로 추측 해결 eslint 버전 8.13.0에서 7.32.0으로 다운그레이드