Simple example based on this example: https://github.com/GoogleChromeLabs/carlo/blob/master/examples/systeminfo/app.js
Install dependencies
npm i
Run application
npm start
Optionally package as executable
npm run build
"targets": [
"node10"
]
Check if it node -v
displays the same version
With nvm you can use https://nvm.sh to switch
Edit your files
| app.js (node process)
|
|---- /www/* (html files)
Check if your folders are included in package.json
"pkg": {
"scripts": "*.js",
"assets": "www/**/*"
}