Dukweeno / Duckuino

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

Error: No module loaded! #70

Closed jvlavl closed 6 years ago

jvlavl commented 6 years ago

Hello,

I have dowloaded duckuino to my local webserver and configured this virtual host to listen to port 81 When I open the site http://hostip:81 site is loading correctly.

pasting the ducky code in it the compile button lights up but when I hit it It gives me the error No module loaded!

How can I solve this?

Input code:

DELAY 3000
GUI r
DELAY 500
STRING notepad
DELAY 500
ENTER
DELAY 750
STRING Hello World!!!
ENTER

Rgds,

John

lowlevl commented 6 years ago

Hi @jvlavl, I gonna need a screenshot please.

jvlavl commented 6 years ago

Hello,

Here is the requested screenshot. modulemissing

Thanks in advance

lowlevl commented 6 years ago

Hi @jvlavl, have you selected a module with the caret on the compile button ?

jvlavl commented 6 years ago

Hello,

That"s also part of the issue i Can 't select a module. Aldo they are present in the root directory of the site.

Just die a git globe info/var/www/ducky apache config is pointing to /var/www/Lucky

Rgds,

John

lowlevl commented 6 years ago

Can you open the Javascript console and refresh + try to compile and send a screnshot of the console ?

lowlevl commented 6 years ago

I think there is a problem of module loading ^^

jvlavl commented 6 years ago

Hello, Hereby the requested screenshots

modulemissing

modulemissing1

Rgds,

John

lowlevl commented 6 years ago

Hi @jvlavl, that's a non-issue, you can't access https://nurrl.github.io/LocaleKeyboard.js/locales/localeList with the client so the code breaks.. For now, Duckuino needs to access this file from internet to work properly.

Plazmaz commented 6 years ago

@Nurrl won't that drive us to CORS issues?

lowlevl commented 6 years ago

@Plazmaz Yeah, I got it, yes it will, I'm trying to merge the two projects, but now I don't have much time to do it..

lowlevl commented 6 years ago

Added in TO-DO list. Closing issue :D