npm ERR! Unexpected end of JSON input while parsing near... in Angular 6

Posted at: October 2, 2018 9:04 PM

Fixed this issue using below commands.


If error is coming like this npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor. Then see below solution.

Solution:

[email protected] is deprecated. The future of this module is called flatted. So you should flatted. flatted: A super light (0.5K) and fast circular JSON parser, directly from the creator of CircularJSON.

Smaller, faster, and able to produce on average a reduced output too, flatted is the new, bloatless, ESM and CJS compatible, circular JSON parser.

You can run this command.

Speed Up Your Magento Store by 300%
npm ERR JSON input

Please leave comments

2 Comments

truecodex launched free android app. You can download and install truecodex app on your mobile and get notification of the latest post.

Video Tutorials on YouTube