Read the statement by Michael Teeuw here.
Absolute Beginner Needing Help Installing Dependencies
-
Hello
I meet the same issue.
I have run the installation bash on a fresh newly setup raspberry pi 3 B.After this error, I tried to installa previous version of electron
sudo npm install -g electron@1.7.6
Error log is the same :
(node:1853) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7) npm ERR! at FSReqWrap.oncomplete (fs.js:135:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http://github.com/npm/npm/issues> npm ERR! System Linux 4.14.79-v7+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "electron@1.7.6" npm ERR! cwd /home/pi/MagicMirror npm ERR! node -v v8.11.1 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/MagicMirror/npm-debug.log npm ERR! not ok code 0
If you find some answer to this issue, I will be glad to setup my mirror.
-
@bhall321 HI! I see you are using the automatic installer which - I seem to recall - is missing Node. I would recommend doing a manual installation instead. The steps to do it is on GitHub and they are very easy to follow :-)
-
hello mdhenriksen
Thank you for your answer
I have run the automatic installer and the first error I got was “npm Command unknown”
So I installed Node and Npm and re-ran the automatic installer .
Then I got this error.I am setting the sdcard for the raspberry Pi from scratch then i will try the manual step by step.
Thank you
Best regardsHabib
-
@leroyhab Great! I think you will have more luck with that. Let me know how it goes!
-
@leroyhab said in Absolute Beginner Needing Help Installing Dependencies:
npm -v 1.4.21
npm is downlevel… mine is 6.6.0
google search on upgrading npm…
-
Hello
I am reading the step-by-step from github
First thing missing is the installation of NPM
Raspbian Stretch does not come with npm preinstalled (neither in normal, light or full version)Is there a recommended version of npm ?
-
@leroyhab whatever the latest is…
this is a failing of the install script to check and install/update to the right levels
execute
sudo npm install npm@latest -g
-
Hello
Wunderbar !!npm is installed with node !
manual setup finished succesfully
thank you very much
-
awesome!
-
@sdetweil does that mean the automatic setup doesn’t have it or the manual github setup doesn’t have it listed as a step? :thinking_face: