SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data


I have installed the latest erpnext from scratch and restored my database backup to it.
Though it seems to be working fine, when I open Sales Order, Purchase Invoice etc, the screen is unable to load completely. When I open the Quotation window it works fine and loads completely.

I have attached a screenshot with console window output for reference. I have tried running erpnext update and also Ubuntu update but problem persists. I have cleared erpnext cache and my browser cache server time.

Hi @satishguptajaipur,
use the “bench migrate” command and check it.


Thanks Sagar,

“bench migrate” didn’t work. It completes without error but still the problem persists.

Anything else I can do.