Jump to content

I have a problem with webstorm and the internal web server


pat
 Share

Recommended Posts

Hello all,

 

I am a beginner with "Phaser" and I am trying to configure WebStorm 7.0.

I am using the internal web server of Webstorm that works well on others projects.

I am able to run the first project "hello phaser" that works well.

 

I have a problem with all the others examples, the menu of all the examples works well (phaser/examples/indes.html), I can see the menu with all the buttons.

But when I try to launch a file (invader for example)

 

I have this error in the console of WebStorm

GET http://localhost:63342/__corsProxy__/331/aHR0cDovL2xvY2FsaG9zdDo2MzM0Mi9waGFzZXIvZXhhbXBsZXMvZ2FtZXMvaW52YWRlcnMuanM/Xz0xMzg2OTU0OTk2MDAy 500 (Internal Server Error) Xz0xMzg2OTU0OTk2MDAy

 

 

You can see that I can not access the demo file.

post-4833-0-73373800-1386956989_thumb.pn

 

Have you an idea ?

 

Thanks a lot

Link to comment
Share on other sites

Sounds like a paths issue, i.e.the web server doesn't ever get the JS file it needs. I'm not familiar with how WebStorms internal server works, but if there is a way to control the 'base' or 'webroot' of a project then it may need to be done and set to the examples folder.

Link to comment
Share on other sites

I do not think, it is the problem. If, for example, my source directory is not good, I can not launch the first menu And I have a (NOT FOUND) error

GET http://localhost:63342/phaser/examples/sideview.html 404 (Not Found) sideview.html

 

Here, my first menu is good, but the next file can not be load with a (INTERNAL SERVER) error

 

The address is the problem

http://localhost:63342/__corsProxy__/331/aHR0cDovL2xvY2FsaG9zdDo2MzM0Mi9waGFzZXIvZXhhbXBsZXMvZ2FtZXMvaW52YWRlcnMuanM/Xz0xMzg2OTU0OTk2MDAy

Link to comment
Share on other sites

Hello again,

 

When I first launch the "general menu", the address in the toolbar of chrome is

http://localhost:63342/phaser/examples/index.html

 

When I click on a button to choose an example (Basic --> load an image), the address is

http://localhost:63342/phaser/examples/_site/view_full.html?d=basics&f=02+-+click+on+an+image.js&t=02%20-%20click%20on%20an%20image

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...