Comments (5)
Aaah my bad, I'll update the tag!
from koa-views.
https://github.com/queckezz/koa-views/blob/master/test/index.js#L132-L149
This test is passing. Can you compare it to yours?
from koa-views.
So I'm starting to think there is some strange library conflict going on. I tried to create a new project to narrow down where the problem is coming from, but it works fine when I do that. It still doesn't work with my main project where I have a lot of other libraries installed, and I can't go about removing things piece by piece until I figure out which one is the culprit. I did create a repo so if somebody really wants to get the bottom of it, it has everything to reproduce the problem. I also copied the exact error that happens.
https://github.com/kingjerod/koa-views-test
from koa-views.
Try bumping your version from 5.0.2
to 5.2.0
. View specific options are only supported since 5.1.0
. See 1c0914c
from koa-views.
That appears to be the problem, upgrading fixed it. When I do npm install koa-views@next
it installs 5.0.2 :(
from koa-views.
Related Issues (20)
- Why do I have to call 'return' on ctx.render HOT 1
- How can i add a config? HOT 2
- Getting a template not found error when I use nunjucks base layouts with co-views in koa HOT 1
- Installation error HOT 2
- how to set Custom delimiters when use ejs template
- Can't pass helpers to Pug engine HOT 2
- a proposal HOT 4
- consolidate.js is currently at v0.15.4 (npm repository is at v0.15.1) HOT 2
- [feature] My project need to config multiple root path HOT 1
- Error: Engine not found for the ".js" file extension HOT 1
- Version bump get-paths and consolidate HOT 5
- Undetermined Bigint conversion when debug enabled HOT 1
- Slow performance with large options object HOT 8
- [Bug] Can render specific files at any path outside the root dir HOT 2
- ctx closure issue for v6.3.0 HOT 2
- [outdated dependency] Bump Consolidate to ^0.16. to include Twing support HOT 1
- What changed in v7 HOT 1
- Type issues after upgrading to koa-views 7.0.0 HOT 4
- Can't I use Eta template engine in koa-views? HOT 1
- How to render specific files at any path outside the root dir
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koa-views.