standard / semistandard

:icecream: All the goodness of `standard/standard` with semicolons sprinkled on top.
MIT License
1.41k stars 123 forks source link

Cannot use semistandard because of missing dependencies #229

Closed gargsms closed 6 years ago

gargsms commented 7 years ago

semistandard used to work fine for me, but I recently switched to a new machine with updated npm, and whenever I try to use it, I keep getting dependency errors.

This is an example error:

semistandard: Unexpected linter output:

Error: Failed to load plugin react: Cannot find module 'eslint-plugin-react'

If I install all the dependencies of semistandard as devDependencies for my project, I simply get new error related to other internal dependencies.

I tried with downgraded npm, reinstalled npm, and other methods but nothing works.

npm -v -> 5.2.0 node -v -> v6.11.3

gargsms commented 7 years ago

I installed nodejs and npm again. npm -v 3.10.10 seems to work. Leaving this open because npm 5.x.x is still broken.

timlesallen commented 7 years ago

I'd say this is the same issue as I reported in https://github.com/Flet/semistandard/issues/228

lunafi-dorian commented 6 years ago

this would be a great improvement.

Flet commented 6 years ago

Yes this was a duplicate of #228.

Hey sorry for leaving you hanging on this. I'm going to close this issue because I don't believe this is an problem with modern versions of node/npm. Feel free to reply if this is still a problem!