chinakids / atom-simplified-chinese-menu

Atom 的简体中文汉化扩展,目前最全的汉化包。包含菜单汉化、右键菜单汉化以及设置汉化
MIT License
1.33k stars 141 forks source link

Error: Cannot find module 'cson' #26

Closed veky closed 7 years ago

veky commented 8 years ago

Cannot find module 'cson' Error: Cannot find module 'cson' at Module._resolveFilename (module.js:338:15) at Function.Module._resolveFilename (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\module-cache.js:383:52) at Function.Module._load (module.js:289:25) at Module.require (module.js:366:17) at require (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:50:27) at new ChineseSetting (file:///__/.atom/packages/atom-simplified-chinese-menu/lib/main.coffee:4:12) at Object. (file:////.atom/packages/atom-simplified-chinese-menu/lib/main.coffee:88:22) at Object. (file:////.atom/packages/atom-simplified-chinese-menu/lib/main.coffee:1:1) at Module._compile (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:103:30) at Object.defineProperty.value as .coffee at Module.load (module.js:356:32) at Function.Module._load (module.js:313:12) at Module.require (module.js:366:17) at require (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\native-compile-cache.js:50:27) at Package.module.exports.Package.requireMainModule (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:715:27) at ----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:117:28 at Package.module.exports.Package.measure (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:92:15) at Package.module.exports.Package.load (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:106:12) at PackageManager.module.exports.PackageManager.loadPackage (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:457:14) at ----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:402:19 at Config.module.exports.Config.transact (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\config.js:312:16) at PackageManager.module.exports.PackageManager.loadPackages (----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package-manager.js:397:19) at ----\AppData\Local\atom\app-1.8.0\resources\app.asar\src\atom-environment.js:743:28

chinakids commented 8 years ago

挂上VPN 或者安装npm install -g nrm && nrm use taobao 再安装本插件

weq1979 commented 8 years ago

你好 我想也很想用这个汉化插件 但是同样也是这个错误Cannot find module 'cson' 我是在https://github.com/chinakids/atom-simplified-chinese-menu手动下载并放在C:\Users\weq.atom\packages下的 ,不太明白你说的 npm install -g nrm && nrm use taobao 是什么意思 我是win10 系统

chinakids commented 8 years ago

@weq1979 我刚才上传了一些模块,下载最新的master分支代码即可

chinakids commented 7 years ago

请下载v5.3.2版本已修复,新版本中已经移除对CSON的依赖

Herycdd commented 6 years ago

我下载官网的最新版本安装完还是有这个问题存在