nearprotocol / NEARStudio

IDE for building smart contracts on NEAR Protocol
https://studio.nearprotocol.com
MIT License
67 stars 18 forks source link

locally, building example contracts on Windows broken (mkdir issue) #269

Open mikedotexe opened 4 years ago

mikedotexe commented 4 years ago

mkdir -p out/ && gulp is used in the build process for the examples. Windows does not have the -p flag and throws an unhelpful error. Vlad added the out/ directory with a .gitignore file in them a while ago. Since Studio is getting sunsetted and the out/ directory exists, I suggest the quick fix or removing the mkdir -p out/ section of gulp.

Downsides: if the user deletes the out/ folder manually, gulp will throw an error.