enter image description here

node:8786) [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.52-v7+

npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "electron"

npm ERR! cwd /home/pi

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/npm-debug.log

npm ERR! not ok code 0 pi@raspberrypi:~ $

closed as unclear what you're asking by Fazer87, PeterH, fixer1234, Pimp Juice IT, n8te Dec 9 at 8:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    No formatting. No question. Please delete the question. – davidbaumann Dec 7 at 10:18

Browse other questions tagged or ask your own question.