How can you run java without a java environment? How can you run node without a node environment? How can people survive without a human living environment?
1. The system provides a corresponding environment, and then you can run your node directly 2. Package an environment, such as packaging the node environment and your node script together, such as the current electron or nwjs 3 .Use your target environment (such as linux shell), write a shell script, install your node environment after running it, and then run your script
How can you run java without a java environment? How can you run node without a node environment?
How can people survive without a human living environment?
1. The system provides a corresponding environment, and then you can run your node directly
2. Package an environment, such as packaging the node environment and your node script together, such as the current electron or nwjs
3 .Use your target environment (such as linux shell), write a shell script, install your node environment after running it, and then run your script
The requirement you talked about can be achieved with electron.
It just costs money to learn, I’m not sure if you got what I said