Ghost 0.5.10 又拍云和七牛云适配完成 - V2EX
sanddudu
·
2015-03-17
·
via Ghost
这是一个创建于 4107 天前的主题,其中的信息可能已经有所发展或是发生改变。
第 1 条附言 · 2015 年 3 月 23 日
0.5.9 ~ 0.5.10 的七牛适配版本的示例配置文件中都是又拍的格式,已经修正。
Github 中为 0.5.10 Patch1,NPM 中为 0.5.10-0.1
 |
|
1
southwolf 2015 年 3 月 18 日 via iPad
赞赞赞 直接npm挂上就方便多了
|
 |
|
2
xudong 2015 年 3 月 23 日
七牛云的有问题,上面是又拍云的文件。 是不是传错了?
|
 |
|
4
sanddudu 2015 年 3 月 23 日 via iPhone
@xudong 稍微检查了一下,好像没什么问题 是哪个文件出问题了? 另外 npm 版本的应该不会错,你可以下下来看看
|
 |
|
5
xudong 2015 年 3 月 23 日
@sanddudu /root/ghost/config.js:30 qiniu: { ^^^^^ ERROR: Unexpected identifier SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at ConfigManager.readFile (/root/ghost/core/server/config/index.js:294:12) at ConfigManager.validate (/root/ghost/core/server/config/index.js:309:23) at /root/ghost/core/server/config/index.js:238:29 at tryCatch1 (/root/ghost/node_modules/bluebird/js/main/util.js:45:21) at Promise._callHandler (/root/ghost/node_modules/bluebird/js/main/promise.js:571:13)
|
 |
|
7
sanddudu 2015 年 3 月 23 日
我看了一下,不知道为什么 config.example.js 是又拍的格式... 我马上就修
|
 |
|
8
sanddudu 2015 年 3 月 23 日
@xudong 我看了一下,不知道为什么 config.example.js 是又拍的格式... 我马上就修 另外发现这个错误已经出现了两个版本了...
|
 |
|
9
sanddudu 2015 年 3 月 23 日
@xudong 0.5.9 ~ 0.5.10 的七牛适配版本的示例配置文件中都是又拍的格式,已经修正。 Github 中为 0.5.10 Patch1,NPM 中为 0.5.10-0.1
|
 |
|
10
tyrik 2015 年 4 月 7 日
@sanddudu root@localhost:/var/www# npm start > [email protected] start /var/www > node index /var/www/config.js:82 savelocal: true //If you set false, all images will delete after ^^^^^^^^^ ERROR: Unexpected identifier SyntaxError: Unexpected identifier at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at ConfigManager.readFile (/var/www/core/server/config/index.js:307:12) at ConfigManager.validate (/var/www/core/server/config/index.js:322:23) at /var/www/core/server/config/index.js:251:29 at tryCatch1 (/var/www/node_modules/bluebird/js/main/util.js:45:21)
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。