Dukweeno / Duckuino

Simple DuckyScript to Arduino C converter.
https://dukweeno.github.io/Duckuino/
MIT License
353 stars 117 forks source link

The downloaded version doesn't allow me to click the compile button. #112

Closed LegendEag1e closed 3 years ago

LegendEag1e commented 3 years ago

The compiler doesn't change the compile button from inactive when ducky script is inputted. The live version works fine, but the downloadable version doesn't work in any browser

lowlevl commented 3 years ago

Hello @LegendEag1e, thanks for reporting that issue, unfortunately, this is due to CORS(cf. here for further reference, but this is quite complex to understand directly) policy in modern web browsers which prevents a script from loading a file from the local disk, so the project won't work when accessing the page with file:///.

Two options are offered to you if you still want to launch it locally: