atom的emmet插件出现问题,咨询下大神,谢谢。


#1

在晚上找blog也没明白,没有类似的问题,是我电脑的问题么?总之按照要求下载插件到packages下,但是就是不好使,每次启动都报错,代码如下:
Error: Cannot find module ‘emmet’
at Module._resolveFilename (module.js:470:15)
at Module._resolveFilename (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.get_Module._resolveFilename (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\module-cache.js:354:58)
at Module.require (file:///C:/Users/Administrator/AppData/Local/atom/app-1.21.1/resources/app.asar/static/index.js:40:43)
at require (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\native-compile-cache.js:66:33)
at Object. (C:\Users\Administrator.atom\packages\emmet-atom-2.4.3\lib\emmet.coffee:10:11)
at Object. (C:\Users\Administrator.atom\packages\emmet-atom-2.4.3\lib\emmet.coffee:206:4)
at Object. (C:\Users\Administrator.atom\packages\emmet-atom-2.4.3\lib\emmet.coffee:210:3)
at Module.get_Module._compile (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\native-compile-cache.js:106:36)
at Object.value [as .coffee] (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\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 (file:///C:/Users/Administrator/AppData/Local/atom/app-1.21.1/resources/app.asar/static/index.js:47:45)
at require (internal/module.js:20:19)
at customRequire (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\static<embedded>:96:26)
at Package.module.exports.Package.requireMainModule (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package.js:903:35)
at C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package.js:158:34
at Package.module.exports.Package.measure (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package.js:99:21)
at Package.module.exports.Package.load (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package.js:144:18)
at PackageManager.loadAvailablePackage (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package-manager.js:617:16)
at config.transact (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package-manager.js:530:20)
at Config.module.exports.Config.transact (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\config.js:342:22)
at PackageManager.loadPackages (C:\Users\Administrator\AppData\Local\atom\app-1.21.1\resources\app\src\package-manager.js:528:23)