joshuabenuck / seran-wiki

Experiment to create a Deno based implementation of Federated Wiki
MIT License
11 stars 7 forks source link

Fails with missing Deno.dir for version 1.1.2 #44

Open WardCunningham opened 4 years ago

WardCunningham commented 4 years ago
error: TS2339 [ERROR]: Property 'dir' does not exist on type 'typeof Deno'.
      root: join(Deno.dir("home"), ".seran"),
                      ~~~
    at file:///Users/ward/FedWiki/deno/seran-wiki/server/seran.ts:24:23

Similar complaint: https://github.com/denodep/dep/issues/2

joshuabenuck commented 4 years ago

Should be fixed in https://github.com/joshuabenuck/seran-wiki/commit/8c01ea423bf8eb7cf929bfdb7287f798fef806a8 (though the Docker build is broken due to hayd/alpine-deno. An image for deno-1.1.2 hasn't been built yet).

Want me to rollback to deno 1.1.1?

WardCunningham commented 4 years ago

No need. I just won't fetch upstream until I can merge and push these changes.