shaunlee / node-jst Goto Github PK
View Code? Open in Web Editor NEWNode JavaScript Template, One of the world's fastest template.
Node JavaScript Template, One of the world's fastest template.
知道这个是什么原因吗?
D:\nodejs>node ex_project\jst\app.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'handle' of undefined
at HTTPServer.use (D:\nodejs\node_modules\express\lib\http.js:217:17)
at HTTPServer. (D:\nodejs\ex_project\jst\app.js:24:7)
at HTTPServer.configure (D:\nodejs\node_modules\express\lib\http.js:543:61)
at Object. (D:\nodejs\ex_project\jst\app.js:17:5)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
D:\nodejs>
node-jst怎么跟express结合使用~
on version 0.0.13
i've got a ReferenceError: e is not defined
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: e is not defined
at anonymous (eval at <anonymous> (/srv/www/node-test/node_modules/jst/lib/jst.js:88:12))
at /srv/www/node-test/node_modules/jst/lib/jst.js:91:15
at Object.fn_with_escape (/srv/www/node-test/b.js:147:20)
at Object.<anonymous> (/srv/www/node-test/b.js:177:16)
at Module._compile (module.js:407:26)
at Object..js (module.js:413:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at Array.<anonymous> (module.js:426:10)
at EventEmitter._tickCallback (node.js:126:26)
i changed filter
to e
on line 88
and filters.filters
to filters.filters.e
on line 91
than everything works fine
last but not least thanks for the great work :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.