Error while parsing JSON after new installation of Laravel / stand-alone.
See original GitHub issue- Laravel Mix Version: 0.11.4
- Node Version: v7.3.0
- NPM Version: 4.5
- OS: macOS Sierra
Description:
Getting this error for a couple of days now when trying to set up a fresh Laravel project. Already tried to remove node_modules and reinstall, but does not work. Also tried to use it outside of Laravel but it’s giving me the same error.
Syntax Error: Error while parsing JSON - Unexpected end of JSON input
at JSON.parse (<anonymous>)
Screenshot link: https://www.dropbox.com/s/gq5nkg60kqqg3af/Fullscreen_10_05_2017__14_43.png?dl=0
Steps To Reproduce:
- Install new Laravel project (laravel new project-name)
- Run: npm install / yarn
- Run: npm run dev / yarn dev
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Error while parsing JSON after new installation of Laravel ...
Getting this error for a couple of days now when trying to set up a fresh Laravel project. Already tried to remove node_modules...
Read more >Unexpected end of JSON input while parsing - Stack Overflow
I've tried to delete node_packages, npm cache clean --force and then npm install but without the expected result. I've also tried with the ......
Read more >Package Development - The PHP Framework For Web Artisans
Some packages are stand-alone, meaning they work with any PHP framework. ... packages may be used with Laravel by requiring them in your...
Read more >Installation | Laravel Mix Documentation
Begin by installing Laravel Mix through NPM or Yarn. ... Next, create a Mix configuration file within the root of your new project....
Read more >Web Application Manifest - W3C
Let scope be the result of parsing json ["scope"] with manifest URL as the base URL. If scope is failure, return. From scope...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Removed node and npm, did a system check and installed it again. It’s working again! Should of tried that sooner …
Thank you!
Glad that it worked for you.