+5

Sk is not defined

The code is giving me an error stating sk is not defined...but its working perfectly on my laptop (using notepad).. I've tried working on it but didn't come up with anything.. would need some help.. thanks! https://code.sololearn.com/WbkAHo0GzxWE/?ref=app

1/19/2020 4:25:39 AM

Ravindra Desai

34 Answers

New Answer

+6

Ravindra Desai Try the code below Used skulpt.js scripts from other sources works for me on galaxy s9 (android 9) https://code.sololearn.com/WnQZ0B7qvLjF/?ref=app

+6

https://github.com/skulpt/skulpt/blob/master/HACKING.md

+5

Ravindra Desai I think this is a temporary bug of this project ... most likely, if this project is developing, its authors will fix it. But it would not be bad for them to write in support of this.

+5

🥳

+4

Ravindra Desai When i ran your code a few hours ago I got error(sk not defined) but now it's working.

+3

For me it's working in both chrome and SL app now. Weird?

+3

Ipang i think the issue was that skulpt library was not being linked properly and that's why the error occurred "sk is not defined" because it must have been defined in one of skulpt libraries( i was using the skulpt.js source from skulpt.org) ....Burey used the skulpt.js script from some other source and the skulpt libraries were linked properly this time😁

+2

Ravindra Desai On my side code is working correctly and return success after calligraphy shape

+2

Yep it works + nice shape

+2

Kevin Star that's strange 🤔...i am still getting the error...but when i run the code through uc browser it worked...the problem is that i am getting the error in sololearn mobile app

+2

Yes I am. Android v9 like yours🤷🏻‍♂️

+2

Burey finally!! It worked!! Thanks 😁👍

+2

Burey Ravindra Desai Will you guys share me what was the issue and solution? TIA 🙏

+2

Ravindra Desai Thank you, now I understand 🙏👌

+1

I dont know but it works fine for me

+1

I'm on SoloLearn mobile app now, the code runs okay over here. Just letting you know though.

+1

Ipang which browser are you using?

+1

Ipang i am using Sololearn mobile app and still not getting the output...yeah its the case in chrome browser too!

+1

Ravindra Desai I am on Android v5, if your Android version is more recent I wouldn't expect any problem. Are you on iOS by chance? maybe incompatibility issue, I don't know for sure buddy.

+1

Ipang i am currently on Android v9