با سلام خدمت استاد و دوستان
من زمانی که eslint را طبق مراحلی که شما تو فیلم انجام دادید کانفیگ کردم به مشکل زیر بر خوردم ممنون میشم راهنمایی کنید.
soroosh@soroosh:~/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin$ ./node_modules/.bin/eslint --init✔ How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · react
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · browser
✔ How would you like to define a style for your project? · guide
✔ Which style guide do you want to follow? · standard
✔ What format do you want your config file to be in? · JavaScript
Checking peerDependencies of eslint-config-standard@latest
Oops! Something went wrong! :(
ESLint: 7.11.0
TypeError: Invalid Version: undefined
at new SemVer (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/eslint/node_modules/semver/classes/semver.js:22:13)
at outside (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/eslint/node_modules/semver/ranges/outside.js:12:13)
at Object.ltr (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/eslint/node_modules/semver/ranges/ltr.js:3:42)
at TogglePrompt.message (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/eslint/lib/init/config-initializer.js:569:37)
at Object.exports.resolve (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/enquirer/lib/utils.js:43:18)
at TogglePrompt.resolve (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/enquirer/lib/prompt.js:373:18)
at TogglePrompt.element (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/enquirer/lib/prompt.js:249:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async TogglePrompt.message (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/enquirer/lib/prompt.js:270:19)
at async TogglePrompt.render (/home/soroosh/Other Files/Tutorials/Expert js 7 learn/store project/code/my-store/shop_admin/node_modules/enquirer/lib/prompts/toggle.js:91:19)