samelhusseini / pxt-holidays

A Holiday Card sample target embedding PXT inside a React web app
https://samelhusseini.github.io/pxt-holidays/controller.html
MIT License
41 stars 10 forks source link

The connection has timed out ?? #3

Open xiaoliwe opened 6 years ago

xiaoliwe commented 6 years ago

hi guys , i've got some error message and can't running pxt project on my server as bellow pic_002 for #1, environment told me that can't find global type blablabala ... , so , how to fix it ?and why did it show up ?

for #2 , as your guide , i can't opening online editor after perform 'pxt serve' command .

would you like share your suggest ideas ?

thanks so much.

xiaoliwe commented 6 years ago

other than that , if i want to deploy the editor to my website with HTML files and then using 'pxt staticpkg' command , i 've got some INTERNAL ERROR as bellow pic_003

hmm..., how to fix it ?

thanks so much

samelhusseini commented 6 years ago

Hi @WinEcos,

Regarding #1, we're aware of those errors and are fixing them in PXT. They ignored at the time being and shouldn't cause you any issues though. Regarding #2, it seems you don't have some typings files. Try the following: In pxt run:

I'm not too sure about #3. @riknoll? any thoughts?

xiaoliwe commented 6 years ago

@samelhusseini must be use 'jake' command to build pxt project (like : pxt-microbit ) ? i've never build up a successful pxt-microbit environment . would you like share your any IM tools that hope to learn knowledge from you . thx.

riknoll commented 6 years ago

That rimraf issue should be fixed in master. You might need to update the PXT version this project references @samelhusseini

samelhusseini commented 6 years ago

@WinEcos is there are reason you are working with the microbit target? It would be best to use the latest stable version of PXT. version 2.3.38.

The only reason to use v0 is if you're trying to build the microbit target. (which is using an old version of PXT) and has a dependency on that.

samelhusseini commented 6 years ago

If you're looking for a sample to work with, https://github.com/Microsoft/pxt-sample is a good place to start.

xiaoliwe commented 6 years ago

@samelhusseini Thanks so much ,Same ! and i want to build my own pxt project and same as pxt-microbit . but , encounter a lot of problems as you mentioned , pxt-sample might be helpful, so , my questions list as bellow: