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:
- Haiku monthly activity report - September 2019
- Node.js now available in Haiku
- Haiku monthly activity report - 08/2019
- GSOC 2019 Final Report
- Haiku Activity Report: Performance Edition
- new PVS studio scan
- Coding week 4,5,6
- [GSoc 2019] Weeks #4, #5 and #6 progress report
- Haiku monthly activity report - 06/2019
- Coding week no 2 and 3