-
Notifications
You must be signed in to change notification settings - Fork 122
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
JSHint Loader throwing an 'Unexpected end of JSON input' error on each Javascript file #9
Comments
I have the exact same issue, I hope Joe gets to look into this asap. |
Hey bumblebeeman http://stackoverflow.com/questions/39668579/webpack-2-1-0-beta-25-error-unknown-property-postloaders I hope this is useful to you, I tried implementing it but I am still getting: "Unexpected end of JSON input" error for both app.js and utils.js. Regards |
I also tried this but still no luck: this is the content of my webpack.config.js: module.exports = { |
I highly recommend this course: https://www.udemy.com/webpack-2-the-complete-developers-guide At least it is up to date and the instructor actualy cares. Regards |
It looks like the problem is actually with jshint-loader, not webpack itself. It's throwing a fit if .jshintrc is empty. Putting an empty set of curly braces in .jshintrc fixed the problem for me. |
Updated README.md to address issue #9.
Thanks for discovering this fix. I'll close the issue now. |
I have gotten as far as the Using Preloaders section in Basic Builds.
All going well until I add the preloader, at which point I see this:
Utils.js literally looks like this:
App.js looks like this:
My webpack.config.js file looks like so:
package.json looks like this, and I have run npm install sucessfully:
If I remove the preloaders section, everything is fine.
I don't think I'm missing anything, but maybe I am? I am on Windows 10 Professional.
Thanks!
The text was updated successfully, but these errors were encountered: