.DS_Store issues when using Yarn to preview changes to design system.
Issue
I am receiving an error when attempting to start yarn to preview changes I am making to the design system locally.
Error message: ENOTDIR: not a directory, scandir '/Users/andyvolpe/design.gitlab.com/contents/.DS_Store
Cause: Everytime you open a folder in finder on a Mac, .DS_Store
files are created. Nuxt isn't playing nice with these file types.
Current remedy:
Manually delete .DS_Store
files in the root directory. > Restart Yarn.
More info:
Link to Slack conversation: https://gitlab.slack.com/archives/CDNNDD1T3/p1548185828057500
Link to known error: https://github.com/nuxt-community/nuxtent-module/issues/117