I think part of my problem was due to the ridiculously long file names created by npm, which was messing up OneDrive because they exceeded the 256 character limit.
Another problem that I noticed is that an exception is thrown every time I edit some of the newer file types supported by VS, like JSON and LESS files.
Another problem that I noticed is that an exception is thrown every time I edit some of the newer file types supported by VS, like JSON and LESS files.