UNSOLVED RasPi 4 installation issues - npm does not support Node.js v10.15.2
DISPLAY=:0 npm start npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm ERR! path /home/pi/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-03-16T19_00_45_685Z-debug.log pi@raspberrypi:~ $ sudo amixer cset numid=3 1 numid=3,iface=MIXER,name='PCM Playback Route' ; type=INTEGER,access=rw------,values=1,min=0,max=3,step=0 : values=1 pi@raspberrypi:~ $
I try to start MM with DISPLAY=:0 npm start but I get a complaint:npm does not support Node.js v10.15.2 However RasPi
However RasPi does not appear to support npm does not support Node.js v10.15.2 does antone know the work around?
u need to be in the MagicMirror fold then do
export DISPLAY=:0 npm start
the issue u see is a warning