I have a raspi3 with Pimatic running und want upgrade the node.js from 4. to 10.
I read the Node.js Upgrade guide at https://pimatic.teamemo.com/Guide/Getting-Started and followed the steps to remove pimatic&node.js, install node.js 10.16.3 and “node --version” tells me I’m an 10.16.3.
Now I want to install Pimatic and I get this Error:
sudo npm install pimatic --prefix pimatic-app --production
/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57
log.progressEnabled = log.gauge.isEnabled()
^
TypeError: log.gauge.isEnabled is not a function
at Object.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57:33)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /usr/local/lib/node_modules/npm/bin/npm-cli.js:22:13
at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:152:3)
Someone can help me?