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:
- Install the dependencies
haxelib install all and
npm install in the root directory.
- Update submodule dependencies
git submodule init && git submodule update
- 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/
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
Thanks so much!
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?