+ 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

19th Jan 2020, 4:25 AM
Ravindra Desai
Ravindra Desai - avatar
34 Respuestas
+ 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
20th Jan 2020, 9:55 PM
Burey
Burey - avatar
+ 7
https://github.com/skulpt/skulpt/blob/master/HACKING.md
19th Jan 2020, 9:29 AM
Michail Getmanskiy
Michail Getmanskiy - avatar
+ 6
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.
19th Jan 2020, 10:42 AM
Michail Getmanskiy
Michail Getmanskiy - avatar
+ 5
Ravindra Desai When i ran your code a few hours ago I got error(sk not defined) but now it's working.
19th Jan 2020, 3:32 PM
Kevin ★
+ 5
🥳
21st Jan 2020, 5:37 AM
Burey
Burey - avatar
+ 4
For me it's working in both chrome and SL app now. Weird?
19th Jan 2020, 4:45 PM
Kevin ★
+ 4
Yes I am. Android v9 like yours🤷🏻‍♂️
19th Jan 2020, 5:31 PM
Kevin ★
+ 3
Ravindra Desai On my side code is working correctly and return success after calligraphy shape
19th Jan 2020, 5:39 AM
DishaAhuja
DishaAhuja - avatar
+ 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😁
21st Jan 2020, 10:23 AM
Ravindra Desai
Ravindra Desai - avatar
+ 2
Yep it works + nice shape
19th Jan 2020, 7:54 AM
Sousou
Sousou - avatar
+ 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
19th Jan 2020, 4:26 PM
Ravindra Desai
Ravindra Desai - avatar
+ 2
Burey finally!! It worked!! Thanks 😁👍
21st Jan 2020, 1:59 AM
Ravindra Desai
Ravindra Desai - avatar
+ 2
Burey Ravindra Desai Will you guys share me what was the issue and solution? TIA 🙏
21st Jan 2020, 9:55 AM
Ipang
+ 2
Ravindra Desai Thank you, now I understand 🙏👌
21st Jan 2020, 10:28 AM
Ipang
+ 1
I dont know but it works fine for me
19th Jan 2020, 7:59 AM
Sousou
Sousou - avatar
+ 1
I'm on SoloLearn mobile app now, the code runs okay over here. Just letting you know though.
19th Jan 2020, 8:01 AM
Ipang
+ 1
Ipang which browser are you using?
19th Jan 2020, 8:02 AM
Ravindra Desai
Ravindra Desai - avatar
+ 1
Ipang i am using Sololearn mobile app and still not getting the output...yeah its the case in chrome browser too!
19th Jan 2020, 8:42 AM
Ravindra Desai
Ravindra Desai - avatar
+ 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.
19th Jan 2020, 8:45 AM
Ipang
+ 1
Ipang i am currently on Android v9
19th Jan 2020, 8:47 AM
Ravindra Desai
Ravindra Desai - avatar