Jump to content

Photo

Js99'er

Emulator JavaScript

458 replies to this topic

#451 pjduplooy OFFLINE  

pjduplooy

    Chopper Commander

  • 102 posts

Posted Sat Aug 25, 2018 1:41 AM

Hi guys

 

Does anyone know if there is a precompiled executable binary available of the Angular version that one can use on Windows?

 

I am struggling to build using Angular and Typescript under Windows, and at this stage my only access to a Linux box is using Windows Subsystem for Linux, and building under there doesn't work.

 

If there is no executable available, is there anybody that has successfully built in under Windows?



#452 Asmusr ONLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,871 posts
  • Location:Denmark

Posted Sat Aug 25, 2018 7:29 AM

Hi guys

 

Does anyone know if there is a precompiled executable binary available of the Angular version that one can use on Windows?

 

I am struggling to build using Angular and Typescript under Windows, and at this stage my only access to a Linux box is using Windows Subsystem for Linux, and building under there doesn't work.

 

If there is no executable available, is there anybody that has successfully built in under Windows?

 

If you just want to use the emulator there's no need to build it. Just go to https://js99er.net

 

Everything is running in your browser. There are no binaries since JavaScript is an interpreted language.



#453 pjduplooy OFFLINE  

pjduplooy

    Chopper Commander

  • 102 posts

Posted Sat Aug 25, 2018 7:53 AM

Asmusr

 

I want to use it offline.

 

I do not always have access to the internet, and would like to keep myself busy with playing a bit LOL.

 

Regards



#454 Asmusr ONLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,871 posts
  • Location:Denmark

Posted Sat Aug 25, 2018 9:46 AM

OK, cool. I will explain how to get the development environment up and running.

 

I assume you have cloned the git repository to a folder on your computer.

 

First you need to install Node.js. You can get it here: https://nodejs.org

 

Then you need to install Angular CLI: npm install -g @angular/cli

 

Change to the directory containing the source code and install the dependencies by typing: npm install

 

Now you should be able to run js99er locally by typing: ng serve

 

Go into a browser and enter the address as: http://localhost:4200

 

There are tons of other options, but try to get this working first.



#455 pjduplooy OFFLINE  

pjduplooy

    Chopper Commander

  • 102 posts

Posted Sat Aug 25, 2018 11:58 AM

Thank you.  Working perfectly



#456 Asmusr ONLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,871 posts
  • Location:Denmark

Posted Sat Aug 25, 2018 1:05 PM

If you now enter "ng build --prod" it will build the optimized version into the dist directory. This is the version I deploy to js99er.net, and it's a lot faster than the dev version you have been running so far.

 

You need a web server to run this, even locally. You can install a simple one with "npm install -g http-server". To run it from the js99er directory, just type "http-server dist". This will serve the js99er prod version at http://localhost:8080.



#457 TheMole OFFLINE  

TheMole

    Dragonstomper

  • 789 posts
  • Location:Belgium

Posted Wed Sep 12, 2018 7:19 AM

Small bug report, I think...
 
Using Chrome version 68.0.3440.106 (Official Build) (64-bit) on macos 10.13.6, the emulator always starts up with the bilinear interpolation filter turned on, regardless of the setting in the options menu. If I toggle the setting ("pixelated image") off and on, it does end up working, it's just a bit of a hassle to have to do this every time I re-open a js99'er tab.

 

Other than that, I love the new angular version.



#458 Asmusr ONLINE  

Asmusr

    River Patroller

  • Topic Starter
  • 2,871 posts
  • Location:Denmark

Posted Thu Sep 13, 2018 12:15 PM

Small bug report, I think...
 
Using Chrome version 68.0.3440.106 (Official Build) (64-bit) on macos 10.13.6, the emulator always starts up with the bilinear interpolation filter turned on, regardless of the setting in the options menu. If I toggle the setting ("pixelated image") off and on, it does end up working, it's just a bit of a hassle to have to do this every time I re-open a js99'er tab.

 

Other than that, I love the new angular version.

 

Thanks, this should be fixed now.



#459 TheMole OFFLINE  

TheMole

    Dragonstomper

  • 789 posts
  • Location:Belgium

Posted Thu Sep 13, 2018 2:19 PM

Thanks, this should be fixed now.

 

Indeed it is, thanks!







Also tagged with one or more of these keywords: Emulator, JavaScript

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users