pxt-holidays icon indicating copy to clipboard operation
pxt-holidays copied to clipboard

The connection has timed out ??

Open xiaoliwe opened this issue 7 years ago • 7 comments

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 avatar Dec 22 '17 07:12 xiaoliwe

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

xiaoliwe avatar Dec 22 '17 07:12 xiaoliwe

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:

  • npm install
  • jake clean
  • jake

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

samelhusseini avatar Dec 29 '17 17:12 samelhusseini

@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.

xiaoliwe avatar Jan 03 '18 02:01 xiaoliwe

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

riknoll avatar Jan 04 '18 18:01 riknoll

@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 avatar Jan 04 '18 18:01 samelhusseini

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

samelhusseini avatar Jan 04 '18 18:01 samelhusseini

@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:

  • if i use pxt-sample to build my own project of pxt , can i custom some elements ? like : logo , c/c++ environments ,text translator ?
  • Noticed that it's building--failed status, not sure it's working fine on my server machine ?

xiaoliwe avatar Jan 15 '18 01:01 xiaoliwe