Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastest version error #19

Closed
1a57danc3 opened this issue Feb 6, 2017 · 3 comments
Closed

lastest version error #19

1a57danc3 opened this issue Feb 6, 2017 · 3 comments
Labels

Comments

@1a57danc3
Copy link

1a57danc3 commented Feb 6, 2017

INFO Start processing
[hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently checking the cache now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently replacing table align now ... [hexo-generator-amp] Plugin is currently restorating

now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently restorating now ... [hexo-generator-amp] Plugin is currently replacing lazy video now ... FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
ReferenceError: post is not defined
at Object. (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:28:91)
at initialize.exports.each (/Path/Blog/node_modules/hexo-generator-amp/node_modules/cheerio/lib/api/traversing.js:300:24)
at /Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:24:16
at Promise._execute (/Path/Blog/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Path/Blog/node_modules/bluebird/js/release/promise.js:481:18)
at new Promise (/Path/Blog/node_modules/bluebird/js/release/promise.js:77:14)
at module.exports.filter_video (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:17:10)
at tryCatcher (/Path/Blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Path/Blog/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Path/Blog/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Path/Blog/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Path/Blog/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Path/Blog/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
FATAL post is not defined
ReferenceError: post is not defined
at Object. (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:28:91)
at initialize.exports.each (/Path/Blog/node_modules/hexo-generator-amp/node_modules/cheerio/lib/api/traversing.js:300:24)
at /Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:24:16
at Promise._execute (/Path/Blog/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Path/Blog/node_modules/bluebird/js/release/promise.js:481:18)
at new Promise (/Path/Blog/node_modules/bluebird/js/release/promise.js:77:14)
at module.exports.filter_video (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:17:10)
at tryCatcher (/Path/Blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Path/Blog/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Path/Blog/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Path/Blog/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Path/Blog/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Path/Blog/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)

delete amp-template, and remove and reinstall npm package,

hexo g again , then

INFO Start processing
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
ReferenceError: post is not defined
at Object. (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:28:91)
at initialize.exports.each (/Path/Blog/node_modules/hexo-generator-amp/node_modules/cheerio/lib/api/traversing.js:300:24)
at /Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:24:16
at Promise._execute (/Path/Blog/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Path/Blog/node_modules/bluebird/js/release/promise.js:481:18)
at new Promise (/Path/Blog/node_modules/bluebird/js/release/promise.js:77:14)
at module.exports.filter_video (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:17:10)
at tryCatcher (/Path/Blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Path/Blog/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Path/Blog/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Path/Blog/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Path/Blog/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Path/Blog/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
FATAL post is not defined
ReferenceError: post is not defined
at Object. (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:28:91)
at initialize.exports.each (/Path/Blog/node_modules/hexo-generator-amp/node_modules/cheerio/lib/api/traversing.js:300:24)
at /Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:24:16
at Promise._execute (/Path/Blog/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Path/Blog/node_modules/bluebird/js/release/promise.js:481:18)
at new Promise (/Path/Blog/node_modules/bluebird/js/release/promise.js:77:14)
at module.exports.filter_video (/Path/Blog/node_modules/hexo-generator-amp/lib/filter/video.js:17:10)
at tryCatcher (/Path/Blog/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Path/Blog/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/Path/Blog/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/Path/Blog/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/Path/Blog/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/Path/Blog/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Path/Blog/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)

0e9f9be This commit is wrong.

old version is ok.

@1a57danc3
Copy link
Author

Use theme with ejs or jade, error is same.

@tea3 tea3 closed this as completed in 363b5d2 Feb 6, 2017
@tea3
Copy link
Owner

tea3 commented Feb 6, 2017

@ky0ncheng Thank you . Please try new version.

$ npm uninstall hexo-generator-amp --save
$ npm install hexo-generator-amp --save
$ hexo new sample-diary-0206
$ hexo s

Please refer to the following for the detail .

https://hexo.io/docs/writing.html
#17 (comment)

@1a57danc3
Copy link
Author

@tea3 Thank your for detailed answer!

@tea3 tea3 added the bug label Mar 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants