Пакет Atom beautify не устанавливается - PullRequest
0 голосов
/ 02 сентября 2018

Я использую Atom Editor в Ubuntu 18.04 LTS, и пакет beautify работал нормально. Затем я попытался обновить его, и это не удалось. Итак, я попытался удалить его и переустановить с помощью диспетчера пакетов в текстовом редакторе Atom, и эта ошибка появилась:

Installing “atom-beautify@0.33.0” failed.Hide output…

npm WARN deprecated graceful-fs@2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated @types/commander@2.12.2: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm ERR! Linux 4.15.0-33-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/suraj/.atom/.apm/.apmrc" "--userconfig" "/home/suraj/.atom/.apmrc" "install" "/tmp/d-11882-11505-6pr0wo.9rpchumcxr/package.tgz" "--runtime=electron" "--target=1.7.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code EREADFILE

npm ERR! Error extracting /home/suraj/.atom/.apm/marko/4.13.3/package.tgz archive: ENOENT: no such file or directory, open '/home/suraj/.atom/.apm/marko/4.13.3/package.tgz'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-11882-11505-1xp4stp.i1sk7yzaor/npm-debug.log

Позже я попытался установить его вручную через терминал, используя следующие команды:

cd /home/my_username/.atom/.apm/marko
apm install atom-beautify

И эта ошибка появилась:

Installing atom-beautify to /home/suraj/.atom/packages ✗

npm WARN deprecated graceful-fs@2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated @types/commander@2.12.2: This is a stub types definition for commander (https://github.com/tj/commander.js). commander provides its own type definitions, so you don't need @types/commander installed!
npm WARN deprecated jscs-preset-wikimedia@1.0.1: Deprecated in favour of eslint-config-wikimedia. -- https://phabricator.wikimedia.org/T118941
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm ERR! Linux 4.15.0-33-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/suraj/.atom/.apm/.apmrc" "--userconfig" "/home/suraj/.atom/.apmrc" "install" "/tmp/d-11882-10844-9qhjii.bzpnuhm2t9/package.tgz" "--runtime=electron" "--target=1.7.15" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code EREADFILE

npm ERR! Error extracting /home/suraj/.atom/.apm/marko/4.13.3/package.tgz archive: ENOENT: no such file or directory, open '/home/suraj/.atom/.apm/marko/4.13.3/package.tgz'
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/apm-install-dir-11882-10844-lpmvk7.f7mbo6r/npm-debug.log

Пожалуйста, помогите

...