wesbos / eslint-config-wesbos

No-Sweat™ Eslint and Prettier Setup - with or without VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install ESlint and Prittier dependencies?

valeriirivne opened this issue · comments

commented

Hey, I have a a package.json file, created one with npm init. But I failed to install everything needed by the config: npx install-peerdeps --dev eslint-config-wesbos. What am I doing wrong? Thank you.
NPM ERR1

Hey, what version of Node.js and npm are you using? 🙂

commented

Hey,
version node

I also ran into this issue on node 15. Using v14 and everything worked.

I tried with npx install-peerdeps@v2.0.2 --dev eslint-config-wesbos
but I haven't had success 😢

Also not able to install via terminal 😞

I only realized my prettier wasn't working as I was playing with a new project. Then learned that prettier globals don't work?? So I needed to reinstall the wesbos stuff and now I'm wondering what I need per project if I'm going to just setup each one individually.

Since global ESLint configs no longer work you can follow the guide that Wes created for Per Project installations.

https://github.com/wesbos/eslint-config-wesbos#local--per-project-install

I ended up installing npm@6.14.8 and it worked for me.
I probably could try a more recent version but I tried @7.13.0 and it didn't work so i went back to one I knew would.