47 articles Current

Problem Windows Fehlermeldung, ein Dienst nicht gestartet werden konnte. Und im Ereignisanzeige steht: Der Dienst “Treiber für parallelen Anschluss” wurde aufgrund folgenden Fehlers nicht gestartet: Der angegebene Dienst kann nicht gestartet werden. Er ist deaktiviert oder nicht mit aktivierten Geräten verbunden. Solutition :: Parallelport Dienst Deaktivieren via Registry Editor :: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Parport Set Start to 4

pm2 node-red windows

if pm2 is already running then do a pm2 update else follow on.. npm i -g pm2 pm2-windows-startup pm2-startup install pm2 update check the installation with npm ls -g –depth=0 then run node-red from the .js file pm2 start C:\\Users\\PDM\\AppData\\Roaming\\npm\\node_modules\\node-red\\red.js — –save pm2 save pm2 list pm2 show 0  

pm2 ..to the cheatsheet

Cheat sheet from the pm2 website with notes for me to remember # Fork mode pm2 start app.js –name my-api # Name process # Cluster mode pm2 start app.js -i 0 # Will start maximum processes with LB depending on available CPUs pm2 start app.js -i max # Same as above, but deprecated. pm2 scale…

nodejs, express, pug, nodemon, net-ping installation

# required to start with nodejs (LTS Version: 8.9.3 (includes npm 5.5.1)) # get and install the latest node LTS (12/2017) from https://nodejs.org/en/download/ https://nodejs.org/dist/v8.9.3/node-v8.9.3-x86.msi https://nodejs.org/dist/v8.9.3/node-v8.9.3-x64.msi # check node and npm versions with node -v (results in v8.9.3) npm -v (results in v5.5.1) # install globally (administrator privileges required) npm i -g –production windows-build-tools –no-optional npm…

npm cannot find C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V110/Microsoft.Cpp.Default.props W7x64 VS2015

on Windows 7 x64 using npm@3.10.9 and node@v6.11.2 having Visual Studio 2015 Community Edition I ran into the error that npm cound not find C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V110/Microsoft.Cpp.Default.props and hence couldn’t build. resolved this by setting the VC target path with SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140