question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError when installing

See original GitHub issue

This error comes up when I try to install from apm install file-icons

Installing file-icons to /home/deadpool/.atom/packages /usr/share/atom/resources/app/apm/lib/install.js:313
          if (body.releases.latest) {
                           ^

TypeError: Cannot read property 'latest' of undefined
    at /usr/share/atom/resources/app/apm/lib/install.js:313:28
    at Request._callback (/usr/share/atom/resources/app/apm/lib/request.js:56:22)
    at Request.self.callback (/usr/share/atom/resources/app/apm/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/usr/share/atom/resources/app/apm/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/usr/share/atom/resources/app/apm/node_modules/request/request.js:1085:12)
    at IncomingMessage.g (events.js:291:16)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kumarsreenivas051commented, Sep 14, 2018

Alhadis thanks man for your instructions. It worked smoothly in my machine.

0reactions
Alhadiscommented, Apr 12, 2018

Weird. You’re best off reporting this to APM repository, because this has nothing to do with the package’s code. In fact, we don’t have any power over how apm installs and publishes packages, it’s all controlled by atom.io’s infrastructure.

In the meantime, install this package directly without apm:

cd ~/.atom/packages
rm -rf file-icons
git clone https://github.com/file-icons/atom.git file-icons
cd file-icons && npm install --no-save --no-package-lock .

I’m sorry you’re having these troubles.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python PIP Install throws TypeError: unsupported operand ...
This problem has nothing to do with pip. the stack trace shows that the request to get the package fails, indicating a network...
Read more >
Unable to install anything using pip due to TypeError #10750
Description. I am unable to install any packages from PyPi using pip because I keep getting an error. Expected behavior.
Read more >
Python PIP Install throws TypeError: unsupported operand ...
PYTHON : Python PIP Install throws TypeError : unsupported operand type(s) for -=: 'Retry' and 'int' [ Gift : Animated Search Engine ...
Read more >
Build and install error messages - TensorFlow
If you find an installation or build problem that is not listed, please search the ... TypeError: __init__() got an unexpected keyword argument...
Read more >
Proper use PIP to install Python package to avoid TypeError
Proper use PIP to install Python package to avoid TypeError: 'module' object is not callable ; pip3 install --upgrade pip3 ; TypeError: 'module' ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found