Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The connection has timed out ?? #3

Open
xiaoliwe opened this issue Dec 22, 2017 · 7 comments
Open

The connection has timed out ?? #3

xiaoliwe opened this issue Dec 22, 2017 · 7 comments

Comments

@xiaoliwe
Copy link

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
Copy link
Author

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
Copy link
Owner

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?

@xiaoliwe
Copy link
Author

xiaoliwe commented Jan 3, 2018

@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
Copy link

riknoll commented Jan 4, 2018

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

@samelhusseini
Copy link
Owner

@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
Copy link
Owner

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

@xiaoliwe
Copy link
Author

xiaoliwe commented Jan 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants