You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to get ava to give us an actual error instead of "Invalid or unexpected token while compiling ejs".
✖ defaults Rejected promise returned by test
1 test failed [21:49:29]
defaults
/Users/xo/code/lad/node_modules/ejs/lib/ejs.js:605
Rejected promise returned by test. Reason:
Error {
message: 'Could not find matching close tag for "<%=".',
}
Template.generateSource (node_modules/ejs/lib/ejs.js:605:15)
Template.compile (node_modules/ejs/lib/ejs.js:509:12)
Object.compile (node_modules/ejs/lib/ejs.js:358:16)
Transformer.render (node_modules/jstransformer/index.js:288:44)
run (node_modules/kopy/dist/kopy.common.js:158:54)
Promise.all.fileList.map.relative (node_modules/kopy/dist/kopy.common.js:145:49)
Ware.ctx (node_modules/kopy/dist/kopy.common.js:145:33)
Ware.<anonymous> (node_modules/wrap-fn/index.js:75:16)
Ware.<anonymous> (node_modules/wrap-fn/index.js:57:27)
next (node_modules/ware/lib/index.js:85:20)
Ware.<anonymous> (node_modules/wrap-fn/index.js:83:42)
Ware.<anonymous> (node_modules/wrap-fn/index.js:57:27)
next (node_modules/ware/lib/index.js:85:20)
Ware.<anonymous> (node_modules/wrap-fn/index.js:83:42)
Ware.<anonymous> (node_modules/wrap-fn/index.js:57:27)
next (node_modules/ware/lib/index.js:85:20)
Ware.<anonymous> (node_modules/wrap-fn/index.js:83:42)
Ware.<anonymous> (node_modules/wrap-fn/index.js:57:27)
next (node_modules/ware/lib/index.js:85:20)
The text was updated successfully, but these errors were encountered:
I managed to get ava to give us an actual error instead of "Invalid or unexpected token while compiling ejs".
The text was updated successfully, but these errors were encountered: