shibacomputer / txt

A simple, private writing app.
https://newdesigncongress.org
GNU General Public License v3.0
94 stars 7 forks source link

Uncaught Exception: missing icons.svg #1

Closed daviddahl closed 7 years ago

daviddahl commented 7 years ago

Is this file not checked into the repo?

daviddahl commented 7 years ago

The file exists, but the code in icons.js cannot load it.

daviddahl commented 7 years ago

also seeing this in the console:

svgo -f assets/gfx && spritesh --input assets/gfx --output icons.svg --viewbox '0 0 24 24' --prefix txt-

Processing directory 'assets/gfx':

{ Error: ENOENT: no such file or directory, scandir '/Users/daviddahl/code/txt/assets/gfx'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'scandir',
  path: '/Users/daviddahl/code/txt/assets/gfx' }
(node:81244) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, scandir 'assets/gfx'
shibacomputer commented 7 years ago

The icons I'm using currently aren't open source, so I'll have to provide them to you outside of Github. When I open source this, I'll add some alternative iconography. 👍

shibacomputer commented 7 years ago

fwiw, I've made the build process for this easier.

daviddahl commented 7 years ago

:+1: