Giter Site home page Giter Site logo

Comments (5)

sejori avatar sejori commented on May 20, 2024

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.

bobwatcherx avatar bobwatcherx commented on May 20, 2024

yes I use windows, I'm waiting for the repair

from peko.

nhrones avatar nhrones commented on May 20, 2024

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.

tamo avatar tamo commented on May 20, 2024

This may help you: denoland/deno#14605

from peko.

sejori avatar sejori commented on May 20, 2024

Amazing! Thank you for such a nice fix. I will go through and apply to the other examples soon 👏

from peko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.