atom/grammar-selector

Uncaught Error: ENOENT: no such file or directory, lstat '~/Library/Caches/com.github.atom.ShipIt...

ivanyang1984 opened this issue · 1 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.14.2 x64
Electron: 1.3.13
OS: Mac OS X 10.11.6
Thrown From: grammar-selector package 0.48.2

Stack Trace

Uncaught Error: ENOENT: no such file or directory, lstat '/Users/roro_latrobe/Library/Caches/com.github.atom.ShipIt/update.Ihu7WNy'

At fs.js:982

Error: ENOENT: no such file or directory, lstat '/Users/roro_latrobe/Library/Caches/com.github.atom.ShipIt/update.Ihu7WNy'
    at Error (native)
    at fs.lstatSync (fs.js:982:18)
    at Object.fs.lstatSync (ELECTRON_ASAR.js:239:16)
    at realpathSync (fs.js:1657:19)
    at Object.fs.realpathSync (ELECTRON_ASAR.js:326:24)
    at Function.Module._findPath (module.js:167:25)
    at Module._resolveFilename (module.js:453:25)
    at Module._resolveFilename (/Users/roro_latrobe/Library/Caches/com.github.atom.ShipIt/update.Ihu7WNy/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.require.resolve (/app.asar/src/native-compile-cache.js:53:23)
    at /app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:12:41)
    at /app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:361:4)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /app.asar/node_modules/atom-space-pen-views/lib/main.js:18:28)
    at /app.asar/node_modules/atom-space-pen-views/lib/main.js:22:4)
    at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
    at /app.asar/src/compile-cache.js:216:21)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at /app.asar/node_modules/grammar-selector/lib/grammar-list-view.js:6:20)
    at /app.asar/node_modules/grammar-selector/lib/grammar-list-view.js:119:4)

Commands

     -0:03.6.0 grammar-selector:show (atom-text-editor.editor)

Non-Core Packages


Thanks for taking the time to contribute!

We noticed that this is a duplicate of atom/atom#9559. You may want to subscribe there for updates.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.