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

Linux - Can't install packages through Atom #4593

Closed

Description

@hgaronfolo

Hi

I am on Linux Mint 17 using Atom 0.157.0

When I try to install packages some work, but some don't.

I would like to use a linter for my Python coding, but installing the Linter package fails, and I am currently not smart enough to understand what's wrong.

Here's the output:
npm http GET https://registry.npmjs.org/lodash
......
npm ERR! Error: ENOENT, open '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/shelljs/src/popd.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-packag
npm http GET https://registry.npmjs.org/event-kit
.......
npm http GET https://registry.npmjs.org/underscore-plus
npm ERR! Error: ENOENT, open '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/shelljs/src/popd.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/shelljs/src/popd.js
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! code ENOGIT
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/sinon/lib/sinon/match.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/sinon/lib/sinon/match.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/sinon/lib/sinon/match.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/chai/chai.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/chai/chai.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/chai/chai.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/xregexp/xregexp-all.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/xregexp/xregexp-all.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/xregexp/xregexp-all.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/lodash/lodash.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/lodash/lodash.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/lodash/lodash.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/space-pen/vendor/jquery.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/space-pen/vendor/jquery.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/space-pen/vendor/jquery.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat '/tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/jshint/data/non-ascii-identifier-start.js'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/bin/node" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/usr/share/atom/resources/app/apm/node_modules/atom-package-manager/.apmrc" "--userconfig" "/home/herbert/.atom/.apmrc" "install" "/home/herbert/.atom/.node-gyp/.atom/.apm/linter/0.9.0/package.tgz" "--target=0.18.0" "--arch=x64"
npm ERR! cwd /tmp/apm-install-dir-1141113-3772-17qtzm0
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.4
npm ERR! path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/jshint/data/non-ascii-identifier-start.js
npm ERR! fstream_path /tmp/apm-install-dir-1141113-3772-17qtzm0/node_modules/linter/node_modules/jshint/data/non-ascii-identifier-start.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /usr/share/atom/resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm http 304 https://registry.npmjs.org/grim
npm http GET https://registry.npmjs.org/underscore-plus
npm http 304 https://registry.npmjs.org/property-accessors
npm http 304 https://registry.npmjs.org/mixto
npm http 200 https://registry.npmjs.org/underscore-plus
npm http 200 https://registry.npmjs.org/underscore-plus
npm http GET https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/underscore
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/apm-install-dir-1141113-3772-17qtzm0/npm-debug.log
npm ERR! not ok code 0

Activity

  1. added
    linux
    on Dec 17, 2014
  2. benogle commented on Dec 17, 2014

    @benogle
    Contributor

    npm ERR! not found: git

    This looks like the key. Do you have git installed?

  3. hgaronfolo commented on Dec 17, 2014

    @hgaronfolo
    Author

    Hi Ben.

    Thanks for your help.

    No, I didn't have git installed.. I guess I just counted on the .deb package installing all dependencies.

    Installing git and PEP8 from the terminal solved my problems. The issue can be closed.

    I have written a short blog post on how to install Atom and set it up for Python development on a Linux machine. Maybe it can help others, who are new to Atom.
    http://garonfolo.dk/herbert/2014/12/install-atom-on-linux-mint-17-and-setup-python-development/

  4. benogle commented on Dec 17, 2014

    @benogle
    Contributor

    I've added an issue for adding git as a dependency in #4668

  5. lock commented on Jan 24, 2019

    @lock

    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!

  6. locked as resolved and limited conversation to collaborators on Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxmore-information-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions