Giter Club home page Giter Club logo

Comments (3)

LarsVonQualen avatar LarsVonQualen commented on June 22, 2024

This problems seems to still exist for some of us? I'm just opening a fresh Atom. The funny thing is that everything works as it should.

Could this be triggered by wrong permissions on some of the files in the npm cache, or something similarly obscure?

Atom Version: 0.201.0
System: Mac OS X 10.10.3
Thrown From: auto-update-packages package, v0.2.2

Stack Trace

Uncaught Error: Cannot find module 'glob'

At module.js:330

Error: Cannot find module 'glob'
    at Module._resolveFilename (module.js:328:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:270:25)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object.<anonymous> (/Users/larsvonqualen/.atom/packages/auto-update-packages/lib/package-updater.coffee:6:10)
    at Object.<anonymous> (/Users/larsvonqualen/.atom/packages/auto-update-packages/lib/package-updater.coffee:139:4)
    at Module._compile (module.js:452:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:347:32)

Commands

     -0:04.8.0 deprecation-cop:view (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "color-picker"
    ]
  }
}

Installed Packages

# User
auto-detect-indentation, v0.4.2
auto-update-packages, v0.2.2
autoclose-html, v0.16.2
command-logger, v0.23.0
docblockr, v0.7.2
editor-stats, v0.17.0
language-jade, v0.4.0
visual-bell, v1.0.0

# Dev
No dev packages

from atom-auto-update-packages.

AdamantiteAdventurer avatar AdamantiteAdventurer commented on June 22, 2024

This error is still occurring in the latest version of ATOM.

Here are the steps to reproduce:

  1. Open Git CMD.
  2. Run the following command:

git clone https://github.com/yujinakayama/atom-auto-update-packages.git

  1. Open ATOM.
  2. Error appears.

Atom: 1.21.0-beta1 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Pro
Thrown From: auto-update-packages package 1.0.1

Stack Trace

Uncaught Error: Cannot find module 'glob'

At C:\Users\Steven\AppData\Local\atom\app-1.21.0-beta1\resources\app\static\<embedded>:1

Error: Cannot find module 'glob'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.21.0-beta1/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.21.0-beta1/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.21.0-beta1/resources/app/src/native-compile-cache.js:66:33)
    at /packages/atom-auto-update-packages/lib/package-updater.coffee:2:8)
    at /packages/atom-auto-update-packages/lib/package-updater.coffee:1:1)
    at /packages/atom-auto-update-packages/lib/package-updater.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.21.0-beta1/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.21.0-beta1/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.21.0-beta1/resources/app/src/native-compile-cache.js:66:33)
    at Object.updatePackages (/packages/atom-auto-update-packages/lib/auto-update-packages.coffee:58:23)
    at Object.updatePackagesIfAutoUpdateBlockIsExpired (/packages/atom-auto-update-packages/lib/auto-update-packages.coffee:55:8)
    at Object.enableAutoUpdate (/packages/atom-auto-update-packages/lib/auto-update-packages.coffee:35:6)
    at /packages/atom-auto-update-packages/lib/auto-update-packages.coffee:26:8

Commands

Non-Core Packages

file-icons 2.1.12 
auto-update-packages 1.0.1 
atom-beautify 0.30.5 
atom-clock 0.1.15 
expose 0.14.0 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
open-recent 5.0.0 
pigments 0.40.2 
todo-show 2.0.0 
auto-detect-indentation 1.3.0 
autoclose-html 0.23.0 
autocomplete-paths 2.11.0 
busy-signal 1.4.3 
console-panel 0.2.1 
emmet 2.4.3 
git-blame 1.2.2 
git-plus 7.9.3 
git-time-machine 1.5.9 
highlight-selected 0.13.1 
intentions 1.1.5 
language-liquid 0.6.0 
language-nsis 6.3.0 
linter 2.2.0 
linter-eslint 8.3.2 
linter-rubocop 2.1.1 
linter-scss-lint 3.1.1 
linter-ui-default 1.6.10 
minimap 4.29.7 
project-manager 3.3.5 

from atom-auto-update-packages.

ahmedmoeen1234 avatar ahmedmoeen1234 commented on June 22, 2024

how to install package

from atom-auto-update-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.