سلام خدمت دوستان من میخواستم الکترون نصب کنم وقتی این دستور رو زدم
sudo npm install electron -g
(البته اول بدون sudo زدم ولی جواب نداد)
و این ارور رو بهم داد:
npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! path /usr/local/bin/electron
npm ERR! code EEXIST
npm ERR! Refusing to delete /usr/local/bin/electron: ../lib/node_modules/electron-prebuilt/cli.js symlink target is not controlled by npm /usr/local/bin
npm ERR! File exists: /usr/local/bin/electron
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-22T08_25_52_400Z-debug.log