Read the statement by Michael Teeuw here.
Mirror Update Permissions Error
-
@sdetweil thank you will try this.
-
I tried the above as suggested but get this error now:
chown: invalid option – ‘r’
Try ‘chown --help’ for more information. -
@xxLulaBelle look at the help, does it need capital R, not near my computer
-
Apologies I don’t speak the language so I don’t understand it unfortunately but I did a capital R and got the following:
chown: invalid option – ‘r’
Try ‘chown --help’ for more information. -
@xxLulaBelle
like this notice the dash - in front of the rsudo chown -R pi ~/.npm
-
Hi,
Now getting this when I try to update.
pi@raspberrypi:~/MagicMirror $ git pull && npm install
Updating 447c0bf…018cb91
error: Your local changes to the following files would be overwritten by merge:
package-lock.json
package.json
Please commit your changes or stash them before you merge.
Aborting -
@xxLulaBelle we don’t care about the package-lock.json file
but the package.json maybe
do
git diff package.json
to see what was changed.
my update script, from here, https://github.com/sdetweil/MagicMirror_scripts, might have helped.
-
@sdetweil said in Mirror Update Permissions Error:
git diff package.json
pi@raspberrypi:~ $ git diff package.json
Not a git repository
To compare two paths outside a working tree:
usage: git diff [–no-index] -
Sorry realised I hadn’t opened Mirror…
diff --git a/package.json b/package.json
index 317969e…10a0407 100644
— a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
“chai”: “^4.1.2”,
“chai-as-promised”: “^7.1.1”,
“current-week-number”: “^1.0.7”,- “danger”: “^3.1.3”,
- “danger”: “^10.2.0”,
“grunt”: “latest”,
“grunt-eslint”: “latest”,
“grunt-jsonlint”: “latest”,
@@ -48,7 +48,7 @@
“grunt-yamllint”: “latest”,
“http-auth”: “^3.2.3”,
“jsdom”: “^11.6.2”,
- “mocha”: “^7.0.0”,
- “mocha”: “^8.0.1”,
“mocha-each”: “^1.1.0”,
“mocha-logger”: “^1.0.6”,
“spectron”: “^8.0.0”,
-
@xxLulaBelle what version r u on?
grep version package.json