简体   繁体   中英

How to solve the error while installing packages in Atom

whenever i tried to install a package in atom a get an error as mention bellow

**

Installing “platformio-ide-terminal@2.10.1” failed.Hide output… npm ERR: code Z_BUF_ERROR npm ERR: errno -5 npm ERR: zlib. unexpected end of file npm ERR. A complete log of this run can be found in. npm ERR! C:\Users\A.atom.apm_logs\2021-02-07T09_09_47_927Z-debug.log **

please help me to solve this problem.

This is the visuals of the error

  1. Close all atom windows.
  2. Rename ~/.atom directory in your /username folder to something else or just delete it.
  3. Restart Atom.
  4. Now try to install package.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM