MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    RasPi 4 installation issues - npm does not support Node.js v10.15.2

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 853 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fyi2
      last edited by

      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

      S 1 Reply Last reply Reply Quote 0
      • F Offline
        fyi2
        last edited by

        However RasPi does not appear to support npm does not support Node.js v10.15.2 does antone know the work around?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @fyi2
          last edited by

          @fyi2 said in RasPi 4 installation issues - npm does not support Node.js v10.15.2:

          path /home/pi/package.json

          u need to be in the MagicMirror fold then do

          export DISPLAY=:0
          npm start 
          

          the issue u see is a warning

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy