designsystemsinternational / mechanic

Mechanic is a framework to build assets built on web code.
https://mechanic.design
MIT License
253 stars 11 forks source link

Bootstrap fails with .DS_Store files #118

Closed bravomartin closed 2 years ago

bravomartin commented 2 years ago

Describe the bug When I run npm run bootstap I get this error:

(node:91078) UnhandledPromiseRejectionWarning: Error: Cannot find module '/Users/bravomartin/WORK/DSI/mechanic/mechanic/packages/create-mechanic/function-examples/.DS_Store/dependencies.json'

Expected behavior No Error

Desktop (please complete the following information):

Additional context It looks like it's interpreting the .DS_Store file as a folder and wrongly assumes a dependencies.json file inside it.

fdoflorenzano commented 2 years ago

Good find!