Comments (5)
What operating system are you using? Windows by any chance? There is a pathname fix in handlers/static.ts
for windows which might not be doing its job properly. I haven't tested on windows in a while.
from peko.
yes I use windows, I'm waiting for the repair
from peko.
Same here Windows10.
Can't run any example...
> deno run --allow-net --allow-env --allow-read --watch examples/preact/app.ts
Watcher Process started.
error: Uncaught (in promise) Error: The filename, directory name, or volume label syntax is incorrect. (os error 123), readdir '/C:/Users/nhron/Desktop/peko/examples/preact/src'
for await (const dirEntry of Deno.readDir(path)) {
^
at async Object.[Symbol.asyncIterator] (deno:runtime/js/30_fs.js:126:16)
at async getFiles (https://deno.land/x/[email protected]/mod.ts:9:22)
at async recursiveReaddir (https://deno.land/x/[email protected]/mod.ts:17:3)
at async file:///C:/Users/nhron/Desktop/peko/examples/preact/routes.ts:98:3
Watcher Process finished. Restarting on file change...
from peko.
This may help you: denoland/deno#14605
from peko.
Amazing! Thank you for such a nice fix. I will go through and apply to the other examples soon 👏
from peko.
Related Issues (20)
- server.addRoutes(router.routes) misses async routes HOT 1
- lots of readdir boilerplate in server / router files - util for that? HOT 1
- documented param `onError` missing on `listen` function HOT 3
- preflight - cache `GET` and `OPTIONS` requests separately HOT 5
- `hostname` passed to `Server` does not apply to `stdServer` HOT 1
- Angular-like HTML Templating HOT 1
- Remove Deno namespace references HOT 1
- Replace imports from `deno/std` with engine agnostic `node:[library]` imports or custom helper utils HOT 1
- Helpers subdirectory
- calling next without `await` breaks cascade.
- Hot-Reload with file change emitter in ssrHandler (devMode) HOT 1
- Refactor cacher middleware to use Cache API
- Full API Documentation
- Fix Vue Example HOT 3
- ssrHandler - cache based on params as well as route string
- Eta-templating example broken as eta converts "<" to "<" HOT 1
- Test Middleware and Handler of Routes for common security pitfalls (devMode) HOT 1
- Use better dependency cdn for Preact example as reversehttp is slow HOT 2
- File watch handler that wraps SSE to emit events when files change.
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 peko.