I just tried option 2 "npm" for "openfl"

I just tried option 2 “npm” for “openfl”

@joshtynjala

@Bink

@Fancy2209

May I ask if ‘starling’ can be used for ‘openfl num’?

You can’t use AS3 Starling with the openfl npm library yet. I actually have it working on my computer, but it required some tweaks to the Apache Royale compiler, and I still need to clean up those changes before I commit them.

However, there is a starling-framwork npm library that is built from the Haxe/OpenFL version of Starling. It should work with the openfl npm lbrary.

https://www.npmjs.com/package/starling-framework

I actually found that ‘npm openfl’ cannot implement hot updates,
After saving the code, the ‘haxe’ application must be recompiled to see the effect

I tried your recommended ‘npm starling’ but encountered an error

PS C:\Users\Administrator\Desktop\npmStarling> npm install -g yo starling-framework-generator
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/starling-framework-generator - Not found
npm error 404
npm error 404 The requested resource ‘starling-framework-generator@*’ could not be found or you do not have permission to access it.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2026-05-15T17_01_10_631Z-debug-0.log
PS C:\Users\Administrator\Desktop\npmStarling>

The project appears to be named generator-starling-framework. I’ll make sure that the instructions get fixed for the next release.