When you double-click a library to view the contents, the following error may occur.
"<libraryname>.library-ms" is no longer working.
For example, the following error may occur when opening Documents library
"Documents.library-ms" is no longer working.
This library can be safely deleted from your computer. Folders that have been included will not be affected.

Similarly when opening the Music, Pictures or Videos library
"Music.library-ms" is no longer working.
"Pictures.library-ms" is no longer working.
"Videos.library-ms" is no longer working.
To fix this problem, open Windows Explorer, right-click on the corresponding library and choose Delete. Click Yes when asked for confirmation.
Note: Deleting a library does not delete the contents of the included folders. However, you may need to re-add or include your folders manually, if needed.
Then, in the navigation pane of Windows Explorer, right-click Libraries and click Restore default libraries.

This recreates the library that was deleted earlier. This option only restores the default libraries.