In Notepad++, first go to View --> Show Symbol --> Show All Characters
All characters including spaces, tabs, and new lines (CR LF).
Hit Ctrl + H for "Find and Replace."
In "Find What," look for "\r\n"
Replace with "\n".
Click "Replace All"
All CR's should now be removed and should fix the error.