Read the statement by Michael Teeuw here.
npm start Problem
-
Hello everyone,
After a few months I wanted to
sudo npm start
/usr/local/bin/node: 1: Syntax error: “)” unexpected
What does this mean and how can I solve it? -
@Lockslay NEVER use sudo
cd ~/MagicMirror npm start
-
stefan@smartmirror:~ $ cd MagicMirror/ stefan@smartmirror:~/MagicMirror $ npm start /usr/local/bin/node: 1: Syntax error: ")" unexpected](Link Adresse)
Unfortunately, that doesn’t work either
-
@Lockslay can you do
node - v -
@sdetweil
node - v-bash: /usr/local/bin/node: cannot execute binary file: Exec format error
-
when was the last update to the system or MagicMirror?
do
nvm
and
nsee if either respond… because node is in the local folder
-
Hello,
I did an apt update && apt upgrade today.
Everything else did not work after a reboot.n
and nvmcommand not found
-
-
uname -a
Linux smartmirror 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linuxlsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseyefile /bin/bash
/bin/bash: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=f12e6d40fb262ad0037b6ec43162208b76d4da71, for GNU/Linux 3.2.0, stripped -
@Lockslay note I added an additional line