Is it possible to bundle node-red v 4.0.09 as an exe or single js file for distribution and then use in production as exe?
Welcome to the forums @Rashi
Yes it is - a few articles around here if you search.
See here for a project of mine for example
Thanks Marcus for quick reply. Project Node-RED-SFE uses pkg, that is deprecated.
Is there any other way where we don't need to ship large node_modules files/folders?
If you look a little closer, you will see I’m not using the original pkg project, but an active fork by a colleague of mine
You don’t need to ship anything, other than the executable it creates - everything becomes embedded into the EXE (including the node modules that you install via the UI) you don’t even need the node runtime once compiled.
insanely capable
I like the description.
I don’t want the core team being too humble
Too late. You’ve been spotted!
( we are omnipotent after all )
It's the hot weather - it makes me say (or type) silly things. I'll correct the read me shortly
You’re fine. Happy to live with any meagre praise we get.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.