New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: undefined is not a function #28
Comments
@trevordmiller Thanks for posting this, I will take a look at it a little later tonight. |
@trevordmiller Just a bit of digging I found the culprit. As for why it is throwing, it would seem that having The only thing this will affect is being able to hit |
@mysticatea This may still be a bug on your side since it seems when |
@rizowski Thanks for looking into it. Yeah, I'm not sure. Basically, I just want to be able to watch my linting (eslint), tests (mocha), and build (babel) at the same time using npm scripts; the |
@rizowski Thank you for investing. I have gotten the cause, thanks to your hint. When @rizowski @trevordmiller I will release fixed version today. |
@mysticatea You didn't waste my time - that is great news! Thank you so much :) Thank you @rizowski for your help as well. You both are awesome 👍 |
Awesome. Glad I could help. 😃 |
Your package is great! I'm just running into one issue: when I run my
npm run dev
script, which usesnpm-run-all
I get aTypeError: undefined is not a function
error, which is preventing mylint:watch
script from running. I have done some debugging, and everything works as expected runningnpm run lint:watch
by itself, ornpm run dev
without thelint:watch
command...but I don't know how to debug it. Is this a known issue witheslint-watch
in the way that it handles npm script arguments or something?Related issue
I don't know if this is an issue with
eslint-watch
ornpm-run-all
, so I have posted the issue in both places. I do know that all of my other packages work as expected so something seems to be wrong with eithereslint-watch
ornpm-run-all
.mysticatea/npm-run-all#9
Steps to reproduce:
npm install
npm run lint:watch
runs as expectednpm run dev
runsnpm-run-all
which works for everything except forlint:watch
which is outputtingTypeError: undefined is not a function
p.s. I don't understand why
eslint-watch
hasn't been merged into the coreeslint
package?The text was updated successfully, but these errors were encountered: