If you get error:
run npm command gives error "/usr/bin/env: node: No such file or directory
in file watcher
| @ECHO OFF | |
| if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK | |
| if NOT EXIST Private goto MDPrivate | |
| :CONFIRM | |
| echo Are you sure to lock this folder? (Y/N) | |
| set/p "cho=>" | |
| if %cho%==Y goto LOCK | |
| if %cho%==y goto LOCK | |
| if %cho%==n goto END | |
| if %cho%==N goto END |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).