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
npm run dev always fails and the log is unhelpful #373
Comments
All that this (very verbose) error is saying is that
However, I don't see anywhere in the current Webpack source code that returns |
The best thing for you to try is to narrow down which file(s) (if any) are causing the problem. Start by commenting out all lines but one in |
I had a similiar issue, in my case nodejs didn't find
|
@nicolashuber Wohoo! That solved the problem. |
Description:
Since yesterday, no matter what I do,
npm run dev
andnpm run watch
will always come back with a bunch of errors which I can't make any sense of.npm run watch
is the vaguest... It comes back with this:Failed to compile with 2 errors
While
npm run dev
gives more feedback, I can't make any use of it to fix my problem. This is whatnpm-debug.log
says:I'd like to mention that my assets work as they should despite this error, but I would like to get rid of it anyway.
So for more relevant files, this is my
webpack.mix.js
:app.scss
bootstrap.js
and
app.js
Steps To Reproduce:
This problem started happening suddenly and it might be related to one of the modules I installed. I might also be having some mistake in the files above... Something I might not be seeing. However, I have no exact way to reproduce this error as it just keeps happening.
The text was updated successfully, but these errors were encountered: