Unable to build haxe website on Windows PC

I’m trying to contribute to the main haxe website so I need to get it building locally. (or is there another way?)

Steps I tried:

  1. Install the dependencies haxelib install all and npm install in the root directory.
  2. Update submodule dependencies git submodule init && git submodule update
  3. Generate the website by running haxe generate.hxml .

At this step I get this error: Class has no field stdout. at Highlighter.hx

I am using Windows 10 x64, Haxe 3.4.7, Python 2.7.11, latest Npm and Git.
All the dependencies and stuff installed properly.

Sounds like you might need hxnodejs from GitHub? The latest Haxelib release is a bit outdated.

haxelib git hxnodejs https://github.com/HaxeFoundation/hxnodejs/
1 Like

Omg that’s awesome, everything works now! I am able to generate the site and launch it with:

The website is now available in the out/ folder, you can launch it with nekotools server -d out and access it at http://localhost:2000/ .

Thanks so much!

Nice to see somebody wanting to contribute! Welcome aboard @robin7! I’m currently targeting some contributions to the Haxe Code Cookbook. What do you think if you and me start a Newbie Haxe Fan Club here? :smiley: :smiley: :smiley: . If we bring at least 100 people aboard, I hear they might even allow us to be moderators :smiley: (yes, I always have lofty goals).

1 Like

Thanks! I’m going to contribute docs for setting up haxe with each platform. I’ll be update this thread on my progress.

Can someone please accept my PR?