Open nembal opened 2 years ago
Definitely something in the variables of that template's content that's malformed, so it's throwing a parse error
Any tips how to solve? The case is, I tried to just copy paste an older version of the page template when it worked, and that is also not going through gulp watch anymore.
On Fri, 13 Aug 2021, 14:00 Daniel Buchner, @.***> wrote:
Definitely something in the variables of that template's content that's malformed, so it's throwing a parse error
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/decentralized-identity/decentralized-identity.github.io/issues/167#issuecomment-898408459, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZMU5FWBAVM6TK2IVAQWWLT4UCPFANCNFSM5CDNFNUQ .
[13:26:40] Using gulpfile ~/Documents/GitHub/decentralized-identity.github.io/gulpfile.js [13:26:40] Starting 'watch'... [13:26:42] Starting 'build'... [13:26:42] Starting 'assets'... [13:26:42] Starting 'templates'... [13:26:42] Finished 'templates' after 22 ms [13:26:44] The following tasks did not complete: watch, build, assets [13:26:44] Did you forget to signal async completion?
events.js:292 throw er; // Unhandled 'error' event ^ Template render error: (unknown path) [Line 167, Column 5] unexpected token: } at Object._prettifyError (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/nunjucks/src/lib.js:36:11) at Template.render (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/nunjucks/src/environment.js:536:21) at Environment.renderString (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/nunjucks/src/environment.js:378:17) at DestroyableTransform._transform (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/gulp-nunjucks-render/index.js:59:15) at DestroyableTransform.Transform._read (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10) at DestroyableTransform.Transform._write (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:83) at doWrite (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:428:64) at writeOrBuffer (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:417:5) at DestroyableTransform.Writable.write (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:334:11) at DestroyableTransform.ondata (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:619:20) Emitted 'error' event on Domain instance at: at DestroyableTransform.EventEmitter.emit (domain.js:517:12) at DestroyableTransform.onerror (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:640:52) at DestroyableTransform.emit (events.js:315:20) at DestroyableTransform.EventEmitter.emit (domain.js:467:12) at /Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/gulp-nunjucks-render/index.js:61:17 at /Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/nunjucks/src/environment.js:39:5 at RawTask.call (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/asap/asap.js:40:19) at flush (/Users/nembal/Documents/GitHub/decentralized-identity.github.io/node_modules/asap/raw.js:50:29) at processTicksAndRejections (internal/process/task_queues.js:75:11) { __safety: undefined, _stack: undefined, plugin: 'gulp-nunjucks', showProperties: true, showStack: false, fileName: '/Users/nembal/Documents/GitHub/decentralized-identity.github.io/templates/pages/governance/about.html', domainEmitter: DestroyableTransform { _readableState: ReadableState { objectMode: true, highWaterMark: 16, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: Pumpify { _readableState: ReadableState { objectMode: true, highWaterMark: 16, buffer: BufferList { head: null, tail: null, length: 0 }, length: 0, pipes: WriteStream { _writableState: [WritableState], writable: true, _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _worker: [Function: sinker], _flush: null,
}, domainThrown: false