2017-07-14 59 views
0

大約一個星期前我安裝了atom,它工作正常,直到昨晚突然停止工作,並在啓動Atom時打開一些開發工具。Atom編輯器在發佈時打開奇怪的窗口

我得到這個在控制檯:

index.js:87 Error: EPERM: operation not permitted, open 'C:\Users\Noah Hefner\.atom\compile-cache\less\40e22529c8729b65e1d700a7ae3f73d57ed1288f\imports.json' 
    at Error (native) 
    at Object.fs.openSync (fs.js:640:18) 
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:168:20) 
    at Object.fs.writeFileSync (fs.js:1343:33) 
    at Proxy.writeFileSync (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\node_modules\fs-plus\lib\fs-plus.js:298:29) 
    at LessCache.module.exports.LessCache.writeJson (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\node_modules\less-cache\lib\less-cache.js:212:23) 
    at LessCache.module.exports.LessCache.setImportPaths (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\node_modules\less-cache\lib\less-cache.js:161:18) 
    at new LessCache (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\node_modules\less-cache\lib\less-cache.js:68:18) 
    at new LessCompileCache (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\less-compile-cache.js:21:26) 
    at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\theme-manager.js:283:32) 
    at ThemeManager.module.exports.ThemeManager.loadStylesheet (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\theme-manager.js:271:27) 
    at ThemeManager.module.exports.ThemeManager.requireStylesheet (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\theme-manager.js:191:30) 
    at ThemeManager.module.exports.ThemeManager.reloadBaseStylesheets (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\theme-manager.js:252:25) 
    at ThemeManager.module.exports.ThemeManager.loadBaseStylesheets (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\theme-manager.js:248:25) 
    at AtomEnvironment.module.exports.AtomEnvironment.initialize (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\atom-environment.js:339:25) 
    at module.exports (C:\Users\Noah Hefner\AppData\Local\atom\app-1.18.0\resources\app\src\initialize-application-window.js:102:29) 
    at setupWindow (file:///C:/Users/Noah%20Hefner/AppData/Local/atom/app-1.18.0/resources/app/static/index.js:106:12) 
    at window.onload (file:///C:/Users/Noah%20Hefner/AppData/Local/atom/app-1.18.0/resources/app/static/index.js:67:9)handleSetupError @ index.js:87 

這裏是窗口,我得到的圖片。

image

回答

0

當它安裝的地方,您的帳戶沒有讀/寫權限會發生這種情況。您應該找到目錄C:\Users\Noah Hefner\.atom的屬性並授予SYSTEM完整權限。

如果這不起作用,您可以隨時重新安裝Atom。

+0

工作!謝謝! (對不起,反應慢) –

相關問題