• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. Alex_
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
A
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 0
  • Posts 1
  • Groups 0

Alex_

@Alex_

0
Reputation
281
Profile views
1
Posts
0
Followers
0
Following
Joined Aug 15, 2018, 10:13 AM
Last Online May 10, 2020, 4:49 PM

Alex_ Unfollow Follow

Latest posts made by Alex_

  • RE: NPM install is giving Error.

    @postremalone said in NPM install is giving Error.:

    NPM install is giving error.

    alt text

    Help please.

    I meet the same issue than you and I solved it by uninstalling nodejs

    sudo apt-get remove nodejs
    

    and reinstall nodejs by using the MagicMirror install script

    bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
    

    During the installation, npm install -g npm@latest give me this error

    npm ERR! path /usr/lib/node_modules/npm/node_modules/ansi-regex
    npm ERR! code EACCES
    npm ERR! errno -13
    npm ERR! syscall access
    npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/ansi-regex'
    npm ERR!  { Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/ansi-regex'
    npm ERR!   stack: 'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/ansi-regex\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'access',
    npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/ansi-regex' }
    npm ERR!
    npm ERR! Please try running this command again as root/Administrator.
    
    

    and I run same command as root to solved this

    sudo npm install -g npm@latest
    

    Here is version of nodejs install by MagicMirror script :

    Installed Node version: v9.11.2
    
    posted in Troubleshooting
    A
    Alex_
    Aug 15, 2018, 10:36 AM
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