Node.js now available in Haiku
pkgman install nodejs
To install Node.js on Haiku, search for the package in HaikuDepot and click ‘Install’ or type
pkgman install nodejs into the Haiku Terminal and it will automatically install everything.
React and TypeScript:
Angular and TypeScript:
Simple Express Web Server:
Socket.IO Chat Demonstration:
Creating a static site via Hexo:
It is also possible to attach node programs for remote debugging via the Chrome Inspector remotely. Here are a few screenshots of Node.js running on a Haiku machine being remotely debugged with Chrome (macOS).
Please note that since this is a very early port to a new operating system, it is expected that several packages require platform recognition for it to function correctly. Therefore, some packages will not work unmodified and would require patches. In relation to this, some features in this port are currently unavailable such as file system events (fs-events) which is used for watching file changes in the file-system. While Haiku itself has the ability to monitor file system events, there is a plan to integrate this into the Node port in the future.
I would like to thank all of those who were involved in making this port possible. This would not have been possible without the contributions from the following:
- Node.js now available in Haiku
- [GSoC 2017] Porting Swift to Haiku - Final Report
- [GSoC 2017] Porting Swift to Haiku - Week #9 / #10
- [GSoC 2017] Porting Swift to Haiku - Week #8
- [GSoC 2017] Porting Swift to Haiku - Week #6 #7
- [GSoC 2017] Porting Swift to Haiku - Week #4 #5
- [GSoC 2017] Porting Swift to Haiku - Week #3
- [GSoC 2017] Porting Swift to Haiku - Week #1 / #2
- [GSoC 2017] Porting the Swift Programming Language to Haiku