Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Fail to install linter-flake8 #770

@bsonghao

Description

@bsonghao

Hello, I am a mac user and I use the following command to install linter-flake8:

apm install linter-flake8

and it return following message

`Warning: No available formula with the name "linter-flake8".
==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for linter-flake8.
(base) pauliebao@Paulies-MacBook-Pro Downloads % apm install linter
Installing linter to /Users/pauliebao/.atom/packages /Applications/Atom.app/Contents/Resources/app/apm/lib/install.js:256
if (body.releases.latest) {
^

TypeError: Cannot read property 'latest' of undefined
at /Applications/Atom.app/Contents/Resources/app/apm/lib/install.js:256:29
at Request._callback (/Applications/Atom.app/Contents/Resources/app/apm/lib/request.js:57:22)
at Request.self.callback (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:185:22)
at Request.emit (events.js:223:5)
at Request. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:1154:10)
at Request.emit (events.js:223:5)
at IncomingMessage. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:312:28)
at IncomingMessage.emit (events.js:228:7)
at endReadableNT (_stream_readable.js:1185:12)
(base) pauliebao@Paulies-MacBook-Pro Downloads % apm install linter-flake8
Installing linter-flake8 to /Users/pauliebao/.atom/packages /Applications/Atom.app/Contents/Resources/app/apm/lib/install.js:256
if (body.releases.latest) {
^

TypeError: Cannot read property 'latest' of undefined
at /Applications/Atom.app/Contents/Resources/app/apm/lib/install.js:256:29
at Request._callback (/Applications/Atom.app/Contents/Resources/app/apm/lib/request.js:57:22)
at Request.self.callback (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:185:22)
at Request.emit (events.js:223:5)
at Request. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:1154:10)
at Request.emit (events.js:223:5)
at IncomingMessage. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:312:28)
at IncomingMessage.emit (events.js:228:7)
at endReadableNT (_stream_readable.js:1185:12)`

I use following versions of packages
apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.60.0
python 3.9.13
git 2.37.1

I would appreciate if someone help me solve this problem, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions