Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

apm install crashes on non-lowercase package names #16478

Closed
elprans opened this issue Jan 2, 2018 · 2 comments
Closed

apm install crashes on non-lowercase package names #16478

elprans opened this issue Jan 2, 2018 · 2 comments
Labels
duplicate wrong-repo Issues that are filed to the wrong Atom repository.

Comments

@elprans
Copy link

elprans commented Jan 2, 2018

Description

$ apm install MagicPython
(node:12659) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Installing MagicPython to /home/elvis/.atom/packages ✓
fs.js:558
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/home/elvis/.atom/packages/MagicPython/package.json'
    at Object.fs.openSync (fs.js:558:18)
    at Proxy.fs.readFileSync (fs.js:468:33)
    at Proxy.fs.readFileSync (/usr/lib64/atom/app/apm/node_modules/asar-require/lib/require.js:86:27)
    at /usr/lib64/atom/app/apm/lib/install.js:476:42
    at fn (/usr/lib64/atom/app/apm/node_modules/async/lib/async.js:582:34)
    at Immediate.<anonymous> (/usr/lib64/atom/app/apm/node_modules/async/lib/async.js:498:34)
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)

See also: MagicStack/MagicPython#115

@50Wliu
Copy link
Contributor

50Wliu commented Jan 2, 2018

We are hoping to release a hotfix shortly that will resolve this. See atom/settings-view#1018 (comment).

@50Wliu 50Wliu closed this as completed Jan 2, 2018
@50Wliu 50Wliu added duplicate wrong-repo Issues that are filed to the wrong Atom repository. labels Jan 2, 2018
@lock
Copy link

lock bot commented Jul 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jul 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate wrong-repo Issues that are filed to the wrong Atom repository.
Projects
None yet
Development

No branches or pull requests

2 participants