Apm: Packages with apmInstallSource in package.json causes update packages to fail with undefined

Created on 5 Sep 2017  Â·  2Comments  Â·  Source: atom/apm

Prerequisites

Description

Packages with apmInstallSource in package.json causes update packages to fail.

Steps to Reproduce

  1. Install a package that has apmInstallSource defined in package.json (example apm install one-black-syntax) see https://github.com/Adimote/one-black-syntax/blob/master/package.json#L16
  2. Open Atom and go to update page.
  3. Go to updates page on settings view or run apm update on terminal.

Expected behavior: [What you expect to happen]
Updates still work

Actual behavior: [What actually happens]
Update fails to fetch with undefined:
screenshot:
image

Reproduces how often: [What percentage of the time does it reproduce?]
100%

Versions

Atom    : 1.19.5
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.11.0

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

Related to: https://github.com/jesseweed/seti-syntax/pull/146 https://github.com/atom/apm/issues/620#issuecomment-326748409

bug triaged

Most helpful comment

All 2 comments

/cc: @iolsen we should put this higher on our list of prioritized items. Updates for _all_ the packages stop working when at least one package defines apmInstallSource.

Was this page helpful?
0 / 5 - 0 ratings